public static Form1 frm1 = new Form1(); public static Form2 frm2 = new Form2(); public static Form3 frm3 = new Form3();
private void MDIParent1_Load(object sender, EventArgs e) { frm1.MdiParent = this; frm2.MdiParent = this; frm3.MdiParent = this; frm1.Show(); }
private void button1_Click(object sender, EventArgs e) { this.Hide(); MDIParent1.frm2.Show(); }
private void button1_Click(object sender, EventArgs e) { this.Hide(); MDIParent1.frm3.Show(); }
private void button1_Click(object sender, EventArgs e) { MDIParent1.frm1.Show(); this.Hide(); }
Attachment: mdiform.rar