Exemplo n.º 1
0
 private void MDIParent1_Load(object sender, EventArgs e)
 {
     this.WindowState = FormWindowState.Maximized;
     this.Text = UserPublicClass.CompanyValue;
     toolStripStatusLabel.Text = UserPublicClass.CompanyValue + "--欢迎你:" + UserPublicClass.NameValue;
     MainForm childForm = new MainForm();
     childForm.MdiParent = this;
     childForm.Text = "设计图 " ;
     childForm.Show();
 }
Exemplo n.º 2
0
 private void 打开主窗口ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     MainForm childForm = new MainForm();
     childForm.MdiParent = this;
     childForm.Text = "设计图 ";
     childForm.Show();
 }