protected virtual void OnBeat(object sender, HeartbeatEventArgs e) { if (Beat != null) { Beat(sender, e); } }
void beat_Beat(object sender, HeartbeatEventArgs e) { MessageBox.Show(String.Format("Hearbeat recieved: {0}", e.Count)); }
protected virtual void OnBeat(object sender, HeartbeatEventArgs e) { if (Beat != null) { Beat(sender, e); } }
void beat_Beat(object sender, HeartbeatEventArgs e) { MessageBox.Show(String.Format("Hearbeat recieved: {0}", e.Count)); }