Example #1
0
 private void BtnClose_Click(object sender, EventArgs e)
 {
     if (!HotKeys._Enabled)
     {
         HotKeys.Destroy();
     }
     else if (_IsModified)//&& HotKeys._Enabled)
     {
         RegisterAllHotkeys(_TempHotkeyConfig);
     }
     this.Close();
 }
Example #2
0
 private void BtnDisableAll_Click(object sender, EventArgs e)
 {
     HotKeys.Destroy();
     HotKeys._Enabled = false;
     this.Close();
 }