Dear taximania,
I will explain again,
In my program I have two forms.
So when I run the program, The first form, form1 will open.
And when I click on that button (If I don't close the first form), I will go to form2.
So when I click on the close(X), in the form2. I am going to form1.
So , But I don't want to return to previous form.
If I close a form, I want to close complete application instead of going to previous forms.
If I have more than 100 forms, I will return to each form when I close each form.
So I wish to close my application.
I think you understand what i meant.
can you help me please.
with Thanks,
Jothis