Exemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     // When the button is clicked, we will call our TriggerNotifications method which will try and parse our string
     // and in turn, call our NotifyObservers method which will notify the observers
     speedMonitorSubject.TriggerNotifications(tbChangeSpeed);
 }