What is the recommended technique for developing an add-on, which does not open any additional window when it is started from the add-on manager? I use C# with Visual Studio.NET where I created a dotnet form to keep the add-on live. I tried to make this dotnet form invisible (hidden) but it did not work.
Any hints would be highly appreciated.
Thanks,
Miki
Hi Miklos,
I have use this technique for starting my add-ons, no windows form is used:
public class RunClass
{
public RunClass()
{
}
public static void Main(string[] args)
{
MyNewAddOn Addon = new MyNewAddOn();
Application.Run();
}
}
On the properties page of your project you need to change the startup object to the RunClass.
Regards, Lita
Add a comment