Esempio n. 1
0
        /// <summary>
        /// 窗体最大化处理
        /// </summary>
        private void MainWindowToMaxDealWidth()
        {
            try
            {
                //隐藏闪烁
                WindowExtensions.StopFlashingWindow(this);

                //设置会话区域显示内容
                this.mainPage.ConversationM.SetConversationAreaShow(ShowType.ConversationView, false);

                TimerJob.StartRun(new Action(() =>
                {
                    this.Topmost = false;
                }), 1000);
            }
            catch (Exception ex)
            {
                LogManage.WriteLog(this.GetType(), ex);
            }
            finally
            {
            }
        }