//地理信息 private void show_dili() { if (this.checkChildFrmExist("管网图") == true) { return; } Form f = new Form(); f = new branch(); f.Text = "管网图"; f.MdiParent = this; f.WindowState = FormWindowState.Maximized; f.Show(); }
//界面的初始化 private void from_ini() { pictureBox6.Parent = pictureBox7; toolStrip1.Parent = pictureBox7; label6.Parent = pictureBox7; Form back = new background(); back.Text = "背景"; back.MdiParent = this; back.WindowState = FormWindowState.Maximized; back.Show(); Form f = new btGR.frmGisMain(); f.Text = "地理信息"; f.MdiParent = this; f.WindowState = FormWindowState.Maximized; f = new curve(); f.Text = "曲线"; f.MdiParent = this; f.WindowState = FormWindowState.Maximized; f = new branch(); f.Text = "管网图"; f.MdiParent = this; f.WindowState = FormWindowState.Maximized; f = new rz.rz_flowchart(); f.Text = "流程图"; f.MdiParent = this; f.WindowState = FormWindowState.Maximized; f = new rz.rz_main(); f.Text = "供热系统"; f.MdiParent = this; f.WindowState = FormWindowState.Maximized; }