private void StaffMenu_Load(object sender, EventArgs e)
        {
            CSM.CSMHome cSMHome = new CSM.CSMHome
            {
                MdiParent = this,
                Dock      = DockStyle.Fill
            };
            cSMHome.Show();

            currentForm = cSMHome;
            currentPage = Page.Home;

            RefreshPage();
        }
        public void ChangeMDIForm(Page page)
        {
            if (currentPage == page)
            {
                return;
            }

            //currentForm.Close();
            currentForm.Dispose();

            Form newFormPage;

            switch (page)
            {
            case Page.Home:
                newFormPage = new CSM.CSMHome();
                break;

            case Page.Profile:
                newFormPage = new CSM.CSMProfile();
                break;

            case Page.PlayerAccount:
                newFormPage = new Staff.StaffPlayerAccount();
                break;

            case Page.PlayerAccount_inSide:
                newFormPage = new Staff.StaffPlayerAccount_inSide();
                break;

            case Page.PointCard:
                newFormPage = new Staff.StaffPointCard();
                break;

            case Page.PointCard_inSide:
                newFormPage = new Staff.StaffPointCard_inSide();
                break;

            case Page.CreatePointCard:
                newFormPage = new CSM.CSMCreatePointCard();
                break;

            case Page.TopUpToPlayer:
                newFormPage = new CSM.CSMTopUpToPlayer();
                break;

            case Page.ReceiveProblems:
                newFormPage = new Staff.StaffReceiveProblems();
                break;

            case Page.Setting:
                newFormPage = new CSM.CSMSetting();
                break;

            default:
                MessageBox.Show("Unexpect switch flow.");
                return;
            }

            newFormPage.MdiParent = this;
            newFormPage.Dock      = DockStyle.Fill;
            newFormPage.Show();

            currentForm = newFormPage;
            currentPage = page;
        }