When I click my button the window opens no probs, how do I disable the main window whilst this window is open? Thanks.Code:private void Button1_Click(object sender, EventArgs e)
{
new BatchScripts().Show();
}
Printable View
When I click my button the window opens no probs, how do I disable the main window whilst this window is open? Thanks.Code:private void Button1_Click(object sender, EventArgs e)
{
new BatchScripts().Show();
}
If you want to disable all other windows in your application, simply use ShowDialog instead of Show