示例#1
0
 void dynamicCameraConnector_self_ConnectEnded(OMCS.Passive.ConnectResult connectResult)
 {
     if (connectResult == OMCS.Passive.ConnectResult.Succeed)
     {
         this.SetSelfViewer();
     }
 }
 void microphoneConnector1_ConnectEnded(OMCS.Passive.ConnectResult res)
 {
     if (this.InvokeRequired)
     {
         this.BeginInvoke(new CbGeneric <ConnectResult>(this.microphoneConnector1_ConnectEnded), res);
     }
     else
     {
         try
         {
             this.timerLabel1.Start();
             this.timerLabel1.Location = new Point(this.Width / 2 - this.timerLabel1.Width / 2, this.timerLabel1.Location.Y);
             this.channelQualityDisplayer1.Initialize(this.friendID);
             this.channelQualityDisplayer1.Visible = true;
             this.decibelDisplayer1.Working        = true;
             this.decibelDisplayer2.Working        = true;
             this.panel_decibel.Visible            = true;
         }
         catch (Exception ee)
         {
             GlobalResourceManager.Logger.Log(ee, "microphoneConnector1_ConnectEnded", ESBasic.Loggers.ErrorLevel.Standard);
             MessageBox.Show(ee.Message + " - " + ee.StackTrace);
         }
     }
 }
示例#3
0
 void microphoneConnector1_ConnectEnded(OMCS.Passive.ConnectResult result)
 {
     this.microConnect = result == ConnectResult.Succeed ? true : false;
     if (this.microConnect.Value)
     {
         //音频连接成功的时候初始化 信号控件
         this.channelQualityDisplayer1.Initialize(this.friendID);
     }
     this.DealConnectResult();
 }
示例#4
0
 void whiteBoardConnector1_ConnectEnded(OMCS.Passive.ConnectResult result)
 {
     if (this.InvokeRequired)
     {
         this.BeginInvoke(new CbGeneric <ConnectResult>(this.whiteBoardConnector1_ConnectEnded), result);
     }
     else
     {
         if (result != ConnectResult.Succeed)
         {
             this.ShowSystemMessage(string.Format("电子白板连接失败!{0}", result.ToString()));
         }
     }
 }
示例#5
0
 void cameraConnector1_ConnectEnded(OMCS.Passive.ConnectResult connectResult)
 {
     this.cameraConnect = connectResult == ConnectResult.Succeed ? true : false;
     this.DealConnectResult();
 }
示例#6
0
 void dynamicDesktopConnector1_ConnectEnded(OMCS.Passive.ConnectResult connectResult)
 {
     if (connectResult != OMCS.Passive.ConnectResult.Succeed)
     {
     }
 }