示例#1
0
 private void OnStatusChanged(ComServiceBase sender, StatusChangedArgs args)
 {
     if (StatusChanged != null)
     {
         StatusChanged(sender, args);
     }
 }
示例#2
0
 void ComService_StatusChanged(object sender, StatusChangedArgs e)
 {
     this.BeginInvoke(() =>
     {
         _connectionStatus.Text = e.Status.ToString();
     });
 }
示例#3
0
 private void OnStatusChanged(ComServiceBase sender, StatusChangedArgs args)
 {
     if (StatusChanged != null)
     {
         StatusChanged(sender, args);
     }
 }