J
Jin Chang
Hi all,
I have a need to restart or relaunch the application from itself. The
first thing I tried is to modify the program.cs source so that the
Application.Run() is within a loop as so:
// ExitApplication is a static public variable
while (!ExitApplication)
{
Application.Run(new MainForm());
}
This approach doesn't seem to work (errors out).
Anyone have some other approach I could take?
Thanks.
- Jin
I have a need to restart or relaunch the application from itself. The
first thing I tried is to modify the program.cs source so that the
Application.Run() is within a loop as so:
// ExitApplication is a static public variable
while (!ExitApplication)
{
Application.Run(new MainForm());
}
This approach doesn't seem to work (errors out).
Anyone have some other approach I could take?
Thanks.
- Jin