Exemplo n.º 1
0
        //单击连接事件
        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            frmrtEmpHelp = (FrmRealTimeEmpHelp)Application.OpenForms["FrmRealTimeEmpHelp"];

            if (frmrtEmpHelp == null)
            {
                frmrtEmpHelp = new FrmRealTimeEmpHelp();
            }

            frmrtEmpHelp.Show();
            frmrtEmpHelp.Activate();
            
            
        }
Exemplo n.º 2
0
        /// <summary>
        /// 实时求救
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void tsmiRealTimeHelp_Click(object sender, EventArgs e)
        {
            if (Searcher.FindFormByName("FrmRealTimeEmpHelp"))
            {
                return;
            }

            FrmRealTimeEmpHelp frm = new FrmRealTimeEmpHelp();
            frm.Show(dockPanel1, DockState.Document);
        }