Hey guys,
I've created a shell of an application in C# to show the marketing board the navigation of our new application. Through the navigation, the application will open a series of forms. I do this with the code shown below:
Code Snippet
private void btnTCEval_Click(object sender, EventArgs e)
{
PlayerSelector frm = new PlayerSelector();
frm.Text = ("Application - [Evaluations]");
if (frm.ShowDialog(this) == DialogResult.OK)
{
//Update the employee data in the database
};
}
The problem I have is that, as the user navigates through the application, it creates a NEW task-bar icon. So, for example... the main menu has one taskbar icon. When they click on one of the buttons that opens up a new window, that then creates ANOTHER taskbar icon. There is another button after that, and that then opens yet ANOTHER window which creates another taskbar icon.
How can I eliminate this? Is there a way to prevent the new forms from creating new taskbar icons? I think I can do this by utilizing FRAMES, or something. I could then toggle then by use of the "Visible" property. But to be honest, I would really prefer not to do this. Any other way?
Thanks!!!
Todd