Mixing managed C++ (CLR) and unmanaged C++

The recommended approach is to create your plug-in in C# and have the UI in your plug-in. The C# plug-in would then call into a C++ DLL library. Here’s a related port on the topic