Problem winform Form.ShowDialog form is not in the task bar display of resolve

problem:

When the c # development of pop-up windows form called ShowDialog, the program icon is not displayed in the taskbar.

The main form of ShowInTaskbar is set to True.

 

Solution

Plus the owner parameter, will be displayed when you call ShowDialog program icon in the taskbar, the code is as follows:

newForm.ShowDialog(this);

 

Guess you like

Origin www.cnblogs.com/q149072205/p/12166671.html