Esempio n. 1
0
 private void UpdatePhoneTextEventHandler(object sender, UpdatePhoneTextEventArgs e)
 {
     if (this.InvokeRequired)
     {
         UpdateMenuTextDelegate updateMenuText = new UpdateMenuTextDelegate(UpdatePhoneTextEventHandler);
         object[] args = new object[2] { this, e };
         this.Invoke(updateMenuText, args);
     }
     else
     {
         this.txtPhoneMessage.Text = e.MenuText;
     }
 }