Is there a way to restart a windows application written in dot net using dot net code
I mean the application should exit and restart itself, on click of a button
Is there a way to restart a windows application written in dot net using dot net code
I mean the application should exit and restart itself, on click of a button
Application.Restart() is your method :)
Here is another StackOverflow answer that points out a couple of "watch-out-for's" with using this method.