how to do 2nd time leave textbox show messagebox
please help me
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ranjit PowarPosted Feb 13, 2016, 10:34 PM
1. Declare global count in class as
int count=0;
2. In textbox leave event write below code
count++;
if(count==2)
{
MessageBox.Show("");
}
If it helps you select as correct answer.
ali tuncerPosted Feb 13, 2016, 8:24 PM
Textbox has a leave event, check this link for more info:
Manas MohapatraPosted Dec 29, 2015, 7:38 AM