Dear Friend,
For the alert message box on the leave event of some textbox is:-
Private void TextBox1_Leave(sender As Object, e As System.EventArgs) Handles textBox1.Leave
{
if(TextBox1.Text=="") then
MessageBox.Show("passsword is empty");
}
I hope this will help you out.
Thanks