Example #1
0
 private void exitMainToolStripMenuItem_Click(object sender, EventArgs e)
 {
     m_bRun = false;
     if (WindowState == FormWindowState.Minimized)
     {
         WindowState = m_ePrevWindowState;
     }
     KeyCaptureLib.Shutdown();
     m_zIniManager.SetValue(Name, IniManager.GetFormSettings(this));
     Close();
 }