コード例 #1
0
ファイル: VideoViewer.cs プロジェクト: lalalayt/easychat
 void dynamicCameraConnector_self_ConnectEnded(OMCS.Passive.ConnectResult connectResult)
 {
     if (connectResult == OMCS.Passive.ConnectResult.Succeed)
     {
         this.SetSelfViewer();
     }
 }
コード例 #2
0
 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
ファイル: VideoViewer.cs プロジェクト: lalalayt/easychat
 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
ファイル: VideoViewer.cs プロジェクト: lalalayt/easychat
 void cameraConnector1_ConnectEnded(OMCS.Passive.ConnectResult connectResult)
 {
     this.cameraConnect = connectResult == ConnectResult.Succeed ? true : false;
     this.DealConnectResult();
 }
コード例 #6
0
ファイル: RemoteDesktopPanel.cs プロジェクト: liweizl/GGTalk
 void dynamicDesktopConnector1_ConnectEnded(OMCS.Passive.ConnectResult connectResult)
 {
     if (connectResult != OMCS.Passive.ConnectResult.Succeed)
     {
     }
 }