// Display the content of TitleMessage received from state machine private void messageChannel_MessageSentEvent(object source, Seagate.AAS.Parsel.Services.Message msg) { if (this.lblState.InvokeRequired) { lblState.BeginInvoke(new EventHandler(delegate { lblState.Text = msg.Text; })); } else { lblState.Text = msg.Text; } }
private void RecieveViewChangeMessage(object src, Seagate.AAS.Parsel.Services.Message msg) { panelTitle.ViewChangedHandler(msg.Text); }