void loginForm1_OKPressed(object sender, LoginForm.LoginFormEventArgs e) { if (!e.ArePasswordsEqual) { MessageBox.Show("Type equal passwords"); } }
void LoginForm_OKPressed(object sender, LoginForm.LoginFormEventArgs e) { MessageBox.Show("!!!"); }