OS Request [Solved]
-
I want when a button is clicked, my application shuts down then restarted by the Operating System. I am using Visual Studio 2008 on Vista (TM), and of course programming with C Sharp. Is it possible to make a new Object like: MainForm mf = new MainForm(); mf.Show(); Then immediately kill the application?
Wamuti: Any man can be an island, but islands to need water around them! Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.
modified on Saturday, February 20, 2010 5:12 AM
-
I want when a button is clicked, my application shuts down then restarted by the Operating System. I am using Visual Studio 2008 on Vista (TM), and of course programming with C Sharp. Is it possible to make a new Object like: MainForm mf = new MainForm(); mf.Show(); Then immediately kill the application?
Wamuti: Any man can be an island, but islands to need water around them! Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.
modified on Saturday, February 20, 2010 5:12 AM
Application.Restart()
Best Regards, Chetan Patel
-
Application.Restart()
Best Regards, Chetan Patel