This is what I have so far:
Expand|Select|Wrap|Line Numbers
- namespace WindowsFormsApplication5
- {
- public partial class SideMenu : Form
- {
- public SideMenu()
- {
- InitializeComponent();
- }
- private void button1_Click(object sender, EventArgs e)
- {
- Form3 newMDIChild1 = new Form3();
- newMDIChild1.MdiParent = this.MdiParent;
- newMDIChild1.Show();
- }
- private void button2_Click(object sender, EventArgs e)
- {
- Form4 newMDIChild2 = new Form4();
- newMDIChild2.MdiParent = this.MdiParent;
- newMDIChild2.Show();
- }
- private void button3_Click(object sender, EventArgs e)
- {
- Form5 newMDIChild3 = new Form5();
- newMDIChild3.MdiParent = this.MdiParent;
- newMDIChild3.Show();
- }
- private void button4_Click(object sender, EventArgs e)
- {
- Form6 newMDIChild4 = new Form6();
- newMDIChild4.MdiParent = this.MdiParent;
- newMDIChild4.Show();
- }
- private void button5_Click(object sender, EventArgs e)
- {
- Form7 newMDIChild5 = new Form7();
- newMDIChild5.MdiParent = this.MdiParent;
- newMDIChild5.Show();
- }
- }
- }