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(); } //************************** }
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(); } //************************** }