private void formContainer_Shown(object sender, EventArgs e)
        {
            formLogin formLgn = new formLogin(Model);
            formLgn.MdiParent = this;
            formLgn.Show();
            formLgn.WindowState = FormWindowState.Maximized;

            //switch (Model.getUserTypeForCurrentuser())
            //{
            //    case "hotelmanager":
            //        receptionMain form1 = new receptionMain(this, Model); // All forms get passed the formContainer and a reference to the model object.
            //        this.Text = this.Text + "-hotelManager";
            //        form1.Dock = DockStyle.Fill;
            //        form1.Show();
            //        break;
                //case "receptionist":
                //    formSales form2 = new formSales(this, Model);// All forms get passed the formContainer and a reference to the model object.
                //    this.Text = this.Text + "-Sales";
                //    form2.Dock = DockStyle.Fill;
                //    form2.Show();
                //    break;
                //case "barmanager":
                //    formOperator form3 = new formOperator(this, Model); // All forms get passed the formContainer and a reference to the model object.
                //    this.Text = this.Text + "-Production";
                //    form3.Dock = DockStyle.Fill;
                //    form3.Show();
                //    break;
        }
        private void button5_Click(object sender, EventArgs e)
        {
            var m = this.MdiParent;
            if (m.HasChildren)
            {
                foreach (Form frm in m.MdiChildren)
                {
                    if (frm != this)
                    {
                        frm.Dispose();
                        return;
                    }
                }
            }

            formLogin formLgn = new formLogin(Model);
            formLgn.MdiParent = this.MdiParent;
            formLgn.Show();
            Dispose();
        }
        private void button6_Click(object sender, EventArgs e)
        {
            var m = this.MdiParent;
            if (m.HasChildren)
            {
                foreach (Form frm in m.MdiChildren)
                {
                    if (frm != this)
                    {
                        frm.Dispose();
                    }
                }
            }

            formLogin formLgn = new formLogin(Model);
            formLgn.MdiParent = this.MdiParent;
            formLgn.Show();
            formLgn.WindowState = FormWindowState.Maximized;
            Dispose();
        }