Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.