public void OnOperatorStatusChange(object sender, OperatorStatusChangeEventArgs e) { if (OperatorStatusChanged != null) { OperatorStatusChanged(sender, e); } }
void sink_OperatorStatusChanged(object sender, OperatorServiceInterface.OperatorStatusChangeEventArgs e) { this.txtMessages.Text += "Operator:" + e.OperatorId + " status change to " + e.Status; }