Visual Studio Forms in VL

hellllo all,

Here’s a small POC on how to use Forms created in Visual Studio inside VL. The demo just shows a small Form with a few controls (textbox, dropdown, datetime picker …) and provides some nodes to retrieve their values and display them in the patch.

I tried to do as much as possible outside VS, but for some reason I could not get the reference to the ColorDialog included in the Form, so I made a little function to retrieve it.


This is really a POC, there’s absolutely no exception handling whatsoever, but it gives a rough idea of the process involved to do such a thing.

There’s one thing I don’t get : when the Form is open, if you go to GetFormValues and just create/move nodes, VL will switch to Hot Swapping and the Form can’t be interacted with until it’s closed/open again. Anyone has a clue where that comes from ?

So if you wanna check it out, here it is !

The thing is on Github so don’t hesitate to contribute if you’d like to :)



Nice one! Will try to have a look soon.