winforms open multiple forms show one icon in taskabr code example
Example: winforms open multiple forms show one icon in taskabr
Form newForm = //...
newForm.ShowInTaskbar = false; //this is what you are asking about
//bonus:
newForm.Owner = myMainForm;
//if this is done in the class of main form, will be:
//newForm.Owner = this;