12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Windows.Forms;
- using System.Threading;
- namespace IControls_FireManager
- {
- static class Program
- {
-
-
-
- [STAThread]
- static void Main()
- {
-
-
-
-
-
-
-
-
-
-
-
-
-
- if (_Diagnostics.Process_Excute("fbserver") == false || _Diagnostics.Process_Excute("fbguard") == false)
- {
- _Popup.MessageBoxPopup(0, _Text.FirebirdNot, _Text.OK);
- }
- else
- {
-
- if (_File.Read_ProgramConfiguration() == true)
- {
- bool createdNew;
- Mutex dup = new Mutex(true, "IControls_FireManager_Ver3", out createdNew);
-
- if (createdNew)
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new IControls_FireManager());
- dup.ReleaseMutex();
- }
- else
- _Popup.MessageBoxPopup(0, _Text.ProgramCloseSame, _Text.OK);
- }
- else
- _Popup.MessageBoxPopup(0, _Text.GetDamagedConfigFile, _Text.OK);
- }
-
-
-
-
-
- }
- }
- }
|