📜  winforms open multiple forms在taskabr中显示一个图标 - C#代码示例

📅  最后修改于: 2022-03-11 14:48:53.359000             🧑  作者: Mango

代码示例1
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;