private void button8_Click(object sender, EventArgs e)
 {
     CheckAvailableRoom r = new CheckAvailableRoom(Model); // All forms get passed the formContainer and a reference to the model object.
     r.Dock = DockStyle.Fill;
     r.MdiParent = this.MdiParent;
     r.Show();
     r.WindowState = FormWindowState.Maximized;
 }
        private void checkRoomButton_Click(object sender, EventArgs e)
        {
            CheckAvailableRoom form = new CheckAvailableRoom(Model);

            form.Dock = DockStyle.Fill;
            form.MdiParent = this.MdiParent;
            form.Show();
            form.WindowState = FormWindowState.Maximized;
        }