private void pictureBox1_Click(object sender, EventArgs e)//This pictureBox displays "Back"
        {
            frmmanagement frm = new frmmanagement();

            frm.Show();
            this.Hide();
        }
        private void btnlogin_Click(object sender, EventArgs e)
        {
            string password = txtpassword.Text;

            if (password == "manager")
            {
                frmmanagement frm = new frmmanagement();
                frm.Show();
                this.Hide();
            }


            else
            {
                MessageBox.Show("The password is incorrected.Please try again");
                txtpassword.Clear();
            }
        }