Example #1
0
 private void btnExit_Click(object sender, EventArgs e)
 {
     HotKey.Bind();
     // ReSharper disable once PossibleNullReferenceException
     ((MainForm)Application.OpenForms["MainForm"]).UpdateTooltip();
     Close();
 }
Example #2
0
 private void btnExit_Click(object sender, EventArgs e)
 {
     HotKey.Bind();
     MainForm.Instance.UpdateTooltip();
     Close();
 }