示例#1
0
文件: frmMain.cs 项目: wwkkww1983/yh
 private void frmMain_Load(object sender, System.EventArgs e)
 {
     this.Close();
     //openCon();
     //***************顶峰系统显示
     if (bDingFeng() == true)
     {
         BengZhan.dingFengReLi.frmMonitor frmMoniObj = new BengZhan.dingFengReLi.frmMonitor();
         frmMoniObj.MdiParent   = this.m_parent;
         frmMoniObj.WindowState = this.WindowState;
         frmMoniObj.Show();
     }
     else
     {
         ComSoft.frmMonitorEx frmMoniObj = new ComSoft.frmMonitorEx();
         frmMoniObj.m_sCon      = CDBConnection.m_sCon;
         frmMoniObj.MdiParent   = this.m_parent;
         frmMoniObj.WindowState = this.WindowState;
         frmMoniObj.Show();
     }
     //**************************
 }
示例#2
0
文件: frmMain.cs 项目: hkiaipc/yh
 private void frmMain_Load(object sender, System.EventArgs e)
 {
     this.Close();
     //openCon();
     //***************����ϵͳ��ʾ
     if(bDingFeng()==true)
     {
         BengZhan.dingFengReLi.frmMonitor frmMoniObj=new BengZhan.dingFengReLi.frmMonitor();
         frmMoniObj.MdiParent=this.m_parent;
         frmMoniObj.WindowState=this.WindowState;
         frmMoniObj.Show();
     }
     else
     {
         ComSoft.frmMonitorEx frmMoniObj=new ComSoft.frmMonitorEx();
         frmMoniObj.m_sCon=CDBConnection.m_sCon;
         frmMoniObj.MdiParent=this.m_parent;
         frmMoniObj.WindowState=this.WindowState;
         frmMoniObj.Show();
     }
     //**************************
 }