Beispiel #1
0
 /// <summary>
 /// 电子白板
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void btnWhiteboard_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         if (LyncHelper.MainConversation != null)
         {
             //共享前释放资源
             this.ShareBeforeDisposeResrouce();
             //共享电子白板
             LyncHelper.ShareWhiteboard(LyncHelper.MainConversation, Constant.SelfName);
         }
         else
         {
             MessageBox.Show("使用电子白板共享之前先选择一个会话", "操作提示", MessageBoxButton.OK, MessageBoxImage.Information);
         }
     }
     catch (Exception ex)
     {
         LogManage.WriteLog(this.GetType(), ex);
     }
     finally
     {
     }
 }