Example #1
0
        /// <summary>
        /// 会话视图显示
        /// </summary>
        public bool SetConversationArea_HidenView()
        {
            bool isChanged = false;

            try
            {
                this.borConversation.Child = null;
                LyncHelper.HidenWindowContent();
                this.borConversation.Child = this.conversationHidenView;

                isChanged = true;
            }
            catch (Exception ex)
            {
                LogManage.WriteLog(this.GetType(), ex);
            }
            finally
            {
            }
            return(isChanged);
        }
Example #2
0
 void btnPostil_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         if (this.CurrentShowType == ShowType.ConversationView)
         {
             this.SetConversationAreaShow(ShowType.HidenView, false);
             LyncHelper.HidenWindowContent();
             bool result = this.SetConversationArea_Conversation2();
             if (result)
             {
                 this.CurrentShowType = ShowType.ConversationView;
             }
         }
     }
     catch (Exception ex)
     {
         LogManage.WriteLog(this.GetType(), ex);
     }
     finally
     {
     }
 }