c# - How to make a program restart itself -


been trying make program restart button click in program , codes "restart()" , "recreate()" dont exist. idea code work?

you can this:

system.windows.forms.application.restart();  // exist... application.current.shutdown(); // if using wpf, otherwise see below... 

use application.exit() or this.close() second line in windows forms app.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -