public void load2()
        {
            panelControl_Home.Controls.Clear();
            //if ((Program.frmSD == null || Program.frmSD.IsDisposed))
            //{
            //    Program.frmSD = new Form_SoDoBan();
            //}
            //Program.frmSD.Dock = DockStyle.Fill;
            //Program.frmSD.Show();
            //foreach (Control ctrl in panelControl_Home.Controls)
            //{
            //    ctrl.Dispose();
            //}
            //panelControl_Home.Controls.Add(Program.frmSD);
            //return;

            Form_SoDoBan frmSoDoBan = new Form_SoDoBan();

            frmSoDoBan.Dock = DockStyle.Fill;
            frmSoDoBan.Show();
            foreach (Control ctrl in panelControl_Home.Controls)
            {
                ctrl.Dispose();
            }
            panelControl_Home.Controls.Add(frmSoDoBan);
            return;
        }
        private void barButtonItem7_ItemClick(object sender, ItemClickEventArgs e)
        {
            Form_SoDoBan frmSoDoBan = new Form_SoDoBan(1);

            frmSoDoBan.Dock = DockStyle.Fill;
            frmSoDoBan.Show();
            foreach (Control ctrl in panelControl_Home.Controls)
            {
                ctrl.Dispose();
            }
            panelControl_Home.Controls.Add(frmSoDoBan);
            return;
        }
        private void ribbon_Click(object sender, EventArgs e)
        {
            if (Ribbon.SelectedPage.Text.Equals(ribbonOrder.Text))
            {
                FormOrder frmOrder = new FormOrder();
                frmOrder.Dock = DockStyle.Fill;
                frmOrder.Show();
                foreach (Control ctrl in panelControl_Home.Controls)
                {
                    ctrl.Dispose();
                }
                panelControl_Home.Controls.Add(frmOrder);
                return;
            }

            if (Ribbon.SelectedPage.Text.Equals(ribbonSoDo.Text))
            {
                //if ((Program.frmSD == null || Program.frmSD.IsDisposed))
                //{
                //    Program.frmSD = new Form_SoDoBan();
                //}
                //Program.frmSD.Dock = DockStyle.Fill;
                //Program.frmSD.Show();

                //if ((Program.frmSD == null || Program.frmSD.IsDisposed))
                //{
                //    Program.frmSD = new Form_SoDoBan();
                //}
                //Program.frmSD.Dock = DockStyle.Fill;
                //Program.frmSD.Show();
                //foreach (Control ctrl in panelControl_Home.Controls)
                //{
                //    ctrl.Dispose();
                //}
                //panelControl_Home.Controls.Add(Program.frmSD);
                //return;

                Form_SoDoBan frmSoDoBan = new Form_SoDoBan();
                frmSoDoBan.Dock = DockStyle.Fill;
                frmSoDoBan.Show();
                foreach (Control ctrl in panelControl_Home.Controls)
                {
                    ctrl.Dispose();
                }
                panelControl_Home.Controls.Add(frmSoDoBan);
                return;
            }
        }