c# - Capture open user controls in Windows form application -


how capture open user control in c# windows form application in run time.i need capture user control , dispose it.

assuming "open user control" mean form, go with

        foreach (form form in application.openforms)         {             if (form.text == "xyz")//your form             {                 //...             }          } 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -