1. Restart the program itself
System.Windows.Forms.Application.Restart();
2. add shell command with registry
System.Windows.Forms.Application.Restart();
2. add shell command with registry
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT/pngfile/shell/PNGOUT]
[HKEY_CLASSES_ROOT/pngfile/shell/PNGOUT/command]
@="/"C://Utils//pngout.exe/" /"%1/""