We have a Click-once deployed .Net 2 WinForms Client that start off with a
Main method that instantiate a MainForm
The MainForm itself have tree menu can can itself spawn off multiple windows.
What we want is for
- the latest windows to be on the top of all windows
- none of the windows to be "alwaysOnTop"
- window to preferably appear in taskbar, such that when one click on the
window's item in task bar, it is brought back to the front.
Tried different options within MainForm
e.g.
spawnedForms.ShowInTaskBar=True;
spawnedForms.WindowState=FormWindowState.Normal;
spawnedForms.Activate();
spawnedForms.Show();
spawnedForms.BringToFront();
But still windows get "hidden".....
|