/// <summary> /// lync程序环境设置(事件、状态、原生态界面抑制、注册表、标示) /// </summary> private void LyncEnviromentPrepare() { try { //初始化加载 LyncHelper.SetLyncAplicationEnviroment(new Action(() => { if (this.Topmost == true || this.LoginPanelIsEnable == false) { //设置主窗体为最顶层 this.Topmost = false; //登陆编辑区域恢复可用状态 this.LoginButtonIsEnable(); } })); } catch (Exception ex) { LogManage.WriteLog(this.GetType(), ex); } finally { } }