private void btnRegForm_Click(object sender, EventArgs e)
        {
            string regFirstname = txtRegFirstname.Text;
            string regSurname   = txtRegSurname.Text;
            string regUser      = txtRegUsername.Text;
            string regPass      = hash.HashPassword(txtRegPassword.Text);


            AddData ad = new AddData();

            ad.AddStaff(regFirstname, regSurname, regUser, regPass);
            MessageBox.Show("Registration Successful. Please Login");
            this.Close();
        }