Exemple #1
0
 public static CTAP getSingleton()
 {
     if (singleton == null)
     {
         singleton = new CTAP();
     }
     return(singleton);
 }
Exemple #2
0
 public static CTAP getSingleton()
 {
     if (singleton == null)
     {
         singleton = new CTAP();
     }
     return singleton;
 }
Exemple #3
0
        static void Main()
        {
            if (System.Diagnostics.Process.GetProcessesByName(System.Diagnostics.Process.GetCurrentProcess().ProcessName).Length > 1)
            {
                MessageBox.Show("CTAP Already Exist!");
                return;
            }

            Thread.CurrentThread.CurrentUICulture = new CultureInfo("zh-TW");

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(CTAP.getSingleton());
        }