X
Xarky
Hi,
I have a window, where for a certain event(button click), I am
starting a new thread. This thread is retrieving data, creating a new
window and displaying it.
The window is being shown by "name.Show();". As the window is being
opened, it is being closed immediately. I know that I can use the
ShowDialog() method, but that would block the execution of the other
thread till the other terminates.
****event****
Thread x = new Thread(new ThreadStart(myMethod));
x.Start();
myMethod()
{
.... Doing some execution
messageWindow.Show();
.... I would like this to contine to live until window is closed,
.... and the other window(main) to contine operate on its own.
}
Can someone help me out.
Thanks in Advance
I have a window, where for a certain event(button click), I am
starting a new thread. This thread is retrieving data, creating a new
window and displaying it.
The window is being shown by "name.Show();". As the window is being
opened, it is being closed immediately. I know that I can use the
ShowDialog() method, but that would block the execution of the other
thread till the other terminates.
****event****
Thread x = new Thread(new ThreadStart(myMethod));
x.Start();
myMethod()
{
.... Doing some execution
messageWindow.Show();
.... I would like this to contine to live until window is closed,
.... and the other window(main) to contine operate on its own.
}
Can someone help me out.
Thanks in Advance