Skip to Content
author's profile photo
Former Member

Add-on with no "satellite" window

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Posted on Feb 08, 2005 at 08:44 AM

    Hi Miklos,

    I have made several addons hidding the main form, and allways worked for me (VB.Net). Could you post the code you are using?

    Regards,

    Ibai Peñ

    Add comment
    10|10000 characters needed characters exceeded

    • Well, I don´t see any problem...

      Have you got any Show in the this.SetVisibleCore(false);

      method?

      Another option I have used is to set the WindowState to Minimized and the ShowInTaskbar to false (And enabled to false too). Then no window is visible.

      Try it if fits your needs,

      Regards,

      Ibai Peñ

  • author's profile photo
    Former Member
    Posted on Feb 09, 2005 at 08:42 PM

    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 comment
    10|10000 characters needed characters exceeded