Example #1
0
 private void playMacro()
 {
     lblStatus.Text = "Status: Playing";
     // Load and play macro.
     _player.LoadMacro(_recorder.CurrentMacro);
     _player.PlayMacroAsync();
 }
Example #2
0
 private void PlayBtn_Click(object sender, EventArgs e)
 {
     _player.Repetitions = (int)RepetitionsN.Value;
     _player.LoadMacro(_recorder.CurrentMacro);
     _player.PlayMacroAsync();
     StatusLabel.Text = "Status: Playing recording (Repeat: " + _player.Repetitions + " times)";
 }
Example #3
0
 private void btnPlayMacro_Click(object sender, EventArgs e)
 {
     // load and play macro
     lblStatus.Text = "Playing Macro...";
     _player.LoadMacro(_recorder.CurrentMacro);
     _player.PlayMacroAsync();
     lblStatus.Text = "Macro finished.";
 }
Example #4
0
 private void playControlButton_Click(object sender, EventArgs e)
 {
     // Load and play macro.
     _player.LoadMacro(_recorder.CurrentMacro);
     _player.PlayMacroAsync();
 }