Beispiel #1
0
 private void setnotificationbtn_Click(object sender, EventArgs e)
 {
     if (notification)
     {
         MouseHook.Start();
         MouseHook.MouseAction += new EventHandler(Eventnotification);
         notification           = false;
     }
     else
     {
         MouseHook.stop();
     }
 }
Beispiel #2
0
 private void setmarketbtn_Click(object sender, EventArgs e)
 {
     if (market)
     {
         MouseHook.Start();
         MouseHook.MouseAction += new EventHandler(Eventmarket);
         market = false;
     }
     else
     {
         MouseHook.stop();
     }
 }