嗨, 每次我的应用程序打开一个新的窗体,Windows任务栏上创建一个新的图标。通常情况下,Windows应用程序只显示任务栏上的应用程序图标,而不是为每个窗体的图标。我从来没有见过这样的事。我该如何解决呢? 我使用VS 2010。 谢谢......
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;