[Same reply as posted by email. Please don't email me a copy of
messages you'll post on the group - it ends up causing confusion.]
Brandon Owensby said:
But as I explained in my prior message we have another screen that comes up
as a dialog. If you bring that screen up you cannot use the other one.
This is not an assumption. This is something I have experienced. I've had
this happen with several of our windows.
I suspect you use ShowDialog then. If that's not it, perhaps you could
provide a short but complete program which shows what you're doing with
a sample form.
Here's a very simple app which shows it's possible:
using System;
using System.Windows.Forms;
using System.Drawing;
class Test : Form
{
Test()
{
Size = new Size (500, 300);
Button b = new Button();
b.Text = "Click me";
b.Click += new EventHandler (ButtonClick);
b.Location = new Point (50, 50);
Controls.Add(b);
}
void ButtonClick (object sender, EventArgs e)
{
new Test().Show();
}
[STAThread]
static void Main()
{
Test t = new Test();
Application.Run(t);
}
}
If you compile and run that, each time you click on a button it'll
create a new copy of itself. However, you can click on the button on
any of the forms, either the newly created one or another one. In other
words, they're all running at the same time.