Exemplo n.º 1
0
 private void cmdRecordMouse_Click(object sender, EventArgs e)
 {
     //1164,364 pos of record mouse button
     mp.record(5);
     cmdRecordMouse.Text        = "Recording..";
     cmdRecordMouse.Enabled     = false;
     cmdRecordKeyboard.Enabled  = false;
     cmdPlotPlayingSong.Enabled = false;
 }
Exemplo n.º 2
0
 private void match()
 {
     lock (mp)
     {
         if (!mp.Processing)
         {
             mp.record(5);
         }
     }
     lock (kp)
     {
         if (!kp.Processing)
         {
             kp.record(5);
         }
     }
     lock (playerForm)
     {
         pickTrack(false);
     }
 }