private void beepRadioButton_CheckedChanged(object sender, EventArgs e) { // reset de wekker, want we veranderen het type wekker.Reset(); alarmTextBox.Text = ""; wekker = new BeepWekker(); }
private void knipperRadioButton_CheckedChanged(object sender, EventArgs e) { wekker.Reset(); alarmTextBox.Text = ""; wekker = new KnipperWekker(this); }
public Form1() { InitializeComponent(); wekker = new KnipperWekker(this); clockTimer.Start(); }