Ejemplo n.º 1
0
 static void quitTimer_Tick(object sender, EventArgs e)
 {
     s_singleton.m_really_close = true;
     s_singleton.m_tray.Visible = false;
     NetService.Stop();
     TouchVerifyCore.Stop();
     Application.Exit();
 }
Ejemplo n.º 2
0
        private void Workbench_Load(object sender, EventArgs e)
        {
            s_singleton      = this;
            m_trayFlashTimer = new TrayFlashTimer(m_tray);
            StartPosition    = FormStartPosition.Manual;
            Location         = new Point(Screen.PrimaryScreen.WorkingArea.Width - 300, 50);

            Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
            TouchVerifyCore.Start();
            NetService.Start();
            Logger.WriteLine(DataManager.DisplayVersion);
        }