摘要:
1publicBgControlForm(string[]args)2{3InitializeComponent();4MessageBox.Show(args[0]);56System.Threading.Mutexmutex=newSystem.Threading.Mutex(true,Application.UserAppDataPath.Replace(@"\","_"),outbOnlyOneInstance);7if(!bOnlyOneInstance)8{9System.Environment.Exit(0);10return;11}12} 阅读全文
摘要:
Program.cs static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); if (args.Length > 0) { Application.Run(ne... 阅读全文