closing forms
-
:( hi all i am working on multiple forms in my application. i want to close some forms during the course of the application. i create an object of the form and aply of the close method. but this does not seem to work becasue it closes that instance of the newly created object. how can i close the already runing instance of the form from another form? please help regards vineet
-
:( hi all i am working on multiple forms in my application. i want to close some forms during the course of the application. i create an object of the form and aply of the close method. but this does not seem to work becasue it closes that instance of the newly created object. how can i close the already runing instance of the form from another form? please help regards vineet
When you create your forms, keep the reference of that form in your calling class. This is the object that you'll want to close. When you create a new variable, you are just creating a new form object, and it is unrelated to anything you already have open. - Doug