// Matching Account Name in All three Table
        public static bool MatchingAccountName_OfAllTable(string target)
        {
            if (PlayerDataBaseControl.MatchingPlayerAccountName(target))
            {
                return(true);
            }
            if (StaffDataBaseControl.MatchingAccountName(target))
            {
                return(true);
            }
            if (CSMDataBaseControl.MatchingAccountName(target))
            {
                return(true);
            }

            // Do not Exist in All Data Table
            return(false);
        }
        public StaffMenu(string staffAccount, string staffEmail, bool useUserNameToLogin)
        {
            InitializeComponent();

            // use User Name to Login
            if (useUserNameToLogin)
            {
                StaffDataBaseControl.staffID = StaffDataBaseControl.GetData_ByColumn("StaffAccountName", staffAccount, "StaffID");
            }
            else
            {
                StaffDataBaseControl.staffID = StaffDataBaseControl.GetData_ByColumn("StaffEmail", staffEmail, "StaffID");
            }

            StaffDataBaseControl.Load();

            lblPlayerName.Text = StaffDataBaseControl.staffName;
        }