Hi,
In windows application(c#) I am having a form which contains two textboxes.
For one textbox I have created validate event.like below
private
{
}
But when I want to close the form without entering any value,then also it is showing the messagebox and then it is closing the form.
So when I close the form I dont want to validate the textbox.Simply it should close the form without showing message.