1234567891011121314151617181920212223242526272829303132333435363738 |
- using System;
- using System.Collections.Generic;
- using System.Windows.Forms;
- using System.Threading;
- namespace IControls_FireManager
- {
- static class Program
- {
-
-
-
- [STAThread]
- static void Main()
- {
- try
- {
- bool createdNew;
- Mutex dup = new Mutex(true, "IControls_EmergencyRepeater", out createdNew);
-
- if (createdNew)
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new EmergencyRepeater());
- }
- else
- MessageBox.Show("이미 프로그램이 사용중입니다");
- }
- catch
- {
- ;
- }
- }
- }
- }
|