I have an MDI parent and MDI child. I want to hide the icon of the child form in a maximized state, so I tried the following:
g.WindowState = FormWindowState.Normal;
g.ShowIcon = false;
g.Show();
g.WindowState = FormWindowState.Maximized;
The showicon
value of the child form is set to false
, but when it's maximized, it still shows an icon: