예제 #1
0
 /**
  * SETTINGS FORM
  */
 void ShowForm()
 {
     engine.Stop();
     kbdHook.Start();
     icon.Hide();
     TopMost = true;
     UpdateUi();
     Show();
 }
예제 #2
0
 private void OnPower(object sender, EventArgs e)
 {
     if (engine.IsStarted())
     {
         engine.Stop();
     }
     else
     {
         engine.Start();
     }
     UpdateMenu();
 }