public static void Main(string[] args) { SingleInstanceManager manager = new SingleInstanceManager(); manager.Run(args); if (isRestarting) System.Windows.Forms.Application.Restart(); //from System.Windows.Forms.dll }
public static void Main(string[] args) { SingleInstanceManager manager = new SingleInstanceManager(); manager.Run(args); if (isRestarting) { System.Windows.Forms.Application.Restart(); //from System.Windows.Forms.dll } }