I am trying to compare passwords in a form and I am using the following approach
private void PasswordConfirm.KeyPress(object sender, KeyPressEventArgs e)