예제 #1
0
 /// <summary>
 /// 启动视频
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void btnVideo_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         if (LyncHelper.MainConversation != null)
         {
             //启动视频
             LyncHelper.StartVideo(LyncHelper.MainConversation);
         }
         else
         {
             MessageBox.Show("开启视频之前先选择一个会话", "操作提示", MessageBoxButton.OK, MessageBoxImage.Information);
         }
     }
     catch (Exception ex)
     {
         LogManage.WriteLog(this.GetType(), ex);
     }
     finally
     {
     }
 }