private void Homebtn_Click_1(object sender, EventArgs e)
        {
            this.Hide();
            FOHDashboard mainMenu = new FOHDashboard(userID, firstName, lastName, OrderList.Items, Usernamelbl.Text, AmountLabel.Text, RunningTotal);

            mainMenu.Show();
        }
        public void CheckUserTypeAndPin(bool CorrectPin, int userId, string firstname, string lastname)
        {
            if (CorrectPin == true)
            {
                Usernamelbl.Text = firstname + " " + lastname;

                string amountlabel  = "00.00";
                float  runningTotal = 0;
                this.Hide();
                FOHDashboard fOHDashboard = new FOHDashboard(userId, firstname, lastname, OrderList.Items, Usernamelbl.Text, amountlabel, runningTotal);
                fOHDashboard.Show();
            }
            else
            {
                MessageBox.Show("please Enter a corrrect Pin");
                Passwordtxtb.Text = "";
            }
        }