plz help
Bind MDI parent form buttons to all the child forms
I have one MDI form. On this I take four buttons for Insert,update,delete,reset operations. I want to bind these buttons to all the child forms of that MDI form and want to perform these operations. How I can bind these buttons to all child forms and performs various operations.?
Nilesh AvhadPosted Jan 23, 2013, 11:38 PM
thanks
Mayur DighePosted Jan 23, 2013, 10:23 AM
You can do it.....buddy
But ....just need to verify which Child Form is Currently Activated ....
to Verify it.....you can use.....Application.OpenForms property in your code.
After that.........to Perform various Operations....based on "your current child form" use either Switch Case or any other Conditional Method to determine which Operation will execute...
Note.....Remember ....While coding for this, it will take your time to understand smooth flow of your data to pass to the Current Form.
Happy Programming..........