private void btnLogin_Click(object sender, EventArgs e)
        {
            bool valid = false;
            MainBranch MainBranch = new MainBranch();

            //get input from text field and pass it to login validation
            valid = branchIDcheck(txtBranchID.Text);

            if (valid == true)
            {
                MainBranch.Show();
                this.Hide();
            }
            else
            {
                MessageBox.Show("Invalid branch ID - please try again");
            }
        }
 private void BtnBack_Click(object sender, EventArgs e)
 {
     MainBranch MainBranch = new MainBranch();
     MainBranch.Show();
     this.Hide();
 }