public override void onMetronomeEvent(object sender, metronomeEventArgs e) { if(spinBox.InvokeRequired) { SetFormControlValue s = new SetFormControlValue(incrementSpinnerValue); spinBox.Invoke(s, new object[] { e }); } else { spinBox.Value++; } }
public override void onMetronomeEvent(object sender, metronomeEventArgs e) { if (spinBox.InvokeRequired) { SetFormControlValue s = new SetFormControlValue(incrementSpinnerValue); spinBox.Invoke(s, new object[] { e }); } else { spinBox.Value++; } }
public override void onMetronomeEvent(object sender, metronomeEventArgs e) { SetFormControlValue lb = new SetFormControlValue(setTimeString); listBox.Invoke(lb, new object[] { e }); }
public override void onMetronomeEvent(object sender, metronomeEventArgs e) { SetFormControlValue lb = new SetFormControlValue(setTimeString); listBox.Invoke(lb, new object[] { e }); }