Ejemplo n.º 1
0
        /// <summary>
        /// 打开化验室网络管理监控
        /// </summary>
        public void OpenAssayManage()
        {
            this.InvokeEx(() =>
            {
                string uniqueKey = FrmAssayManage.UniqueKey;

                if (FrmMainFrame.superTabControlManager.GetTab(uniqueKey) == null)
                {
                    FrmAssayManage frm = new FrmAssayManage();
                    FrmMainFrame.superTabControlManager.CreateTab(frm.Text, uniqueKey, frm, false);
                }
                else
                {
                    FrmMainFrame.superTabControlManager.ChangeToTab(uniqueKey);
                }
            });
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 打开化验室网络管理监控
        /// </summary>
        public void OpenAssayManage()
        {
            SetColoTable();
            this.btnOpenAssayManage.ColorTable = eButtonColor.Blue;

            this.Invoke((Action)(() =>
            {
                string uniqueKey = FrmAssayManage.UniqueKey;

                if (FrmMainFrame.superTabControlManager.GetTab(uniqueKey) == null)
                {
                    FrmAssayManage frm = new FrmAssayManage();
                    FrmMainFrame.superTabControlManager.CreateTab(frm.Text, uniqueKey, frm, true);
                }
                else
                {
                    FrmMainFrame.superTabControlManager.ChangeToTab(uniqueKey);
                }
            }));
        }