static int Main(string[] args) { if (Process.GetProcessesByName(Process.GetCurrentProcess().ProcessName).Length == 1) { Program = new gMain(args); Application.Run(Program); Application.Exit(); } return(0); }
static int Main(string[] args) { if (Process.GetProcessesByName(Process.GetCurrentProcess().ProcessName).Length == 1) { Program = new gMain(args); Application.Run(Program); Application.Exit(); } return 0; }