G
Guest
Hello,
I am developing a Windows Foms application that is hosting a WebBrowser
control. I am trying to open multiple windows of my application. I am able
to do that by using the following code in my New Window event:
Form1 newWindow = new Form1();
e.Equals(newWindow.axWebBrowser.Application);
newWindow.Show();
newWindow.Visible = true;
The problem I am facing is: when I close the first window(the one that was
used to create the other windows), all the other ones also get closed. Is
there a way to avoid this?
Thanks.
I am developing a Windows Foms application that is hosting a WebBrowser
control. I am trying to open multiple windows of my application. I am able
to do that by using the following code in my New Window event:
Form1 newWindow = new Form1();
e.Equals(newWindow.axWebBrowser.Application);
newWindow.Show();
newWindow.Visible = true;
The problem I am facing is: when I close the first window(the one that was
used to create the other windows), all the other ones also get closed. Is
there a way to avoid this?
Thanks.