Ejemplo n.º 1
0
 // 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;
     }
 }
Ejemplo n.º 2
0
 private void RecieveViewChangeMessage(object src, Seagate.AAS.Parsel.Services.Message msg)
 {
     panelTitle.ViewChangedHandler(msg.Text);
 }