garuka

garuka

  • NA
  • 26
  • 0

MDI save button use for child windows

Sep 9 2009 7:14 AM
I have my MDI form which got menuStrip. What I want is when I click the save button on that menuStrip the currently active form should save its data by calling a database method.
I have no idea on how to this except writng lot of if conditions to get the name of the acitve form and then call the save method based on that. But this doesn't sound feasible when it comes to application which has lot of forms. So please let me know if there is any other way of doing this.

Answers (4)