I have a main (MDI) form and around 70 child forms which are intialized and shown 
in runtime. At a time maybe more than 1 child form can be shown. In each of the 
child forms there are button named "OK" and its event "btnOk\_click(object sender, EventArgs e).
There is a button in the Parent form named "Save", if we click on it, in the 
runtime the activeMDI child forms event (btnOk\_click) should get fired.

Please help me on this issue.

at present I do this issue, by using following code

```
 switch (ActiveMdiChild.GetType().Name)
            {
                case "frmSalesOrder":
                case "frmPurchaseOrder":
                case "frmSizeRatio":
                    break;
                case "frmUserGroup":
                    var _frmUserGroup = (frmUserGroup)this.ActiveMdiChild;
                    _frmUserGroup.btnOK.PerformClick();
                    _frmUserGroup = null;
                    break;
                case "frmUser":
                    var _frmUser = (frmUser)this.ActiveMdiChild;
                    _frmUser.btnOK.PerformClick();
                    _frmUser = null;
                    break;

```

Thanks
Joseph J