Ejemplo n.º 1
0
        private void btnEnter_Click(object sender, EventArgs e)
        {
            DatabaseHandle dbHandle = new DatabaseHandle();

            if (dbHandle.GetStaffDetailByPassword(txtPW.Text) != null)
            {
                this.Close();
            }
            else
            {
                MessageBox.Show("Password is incorrecet!");
            }
        }