Application::OpenForms Property
.NET Framework (current version)
Gets a collection of open forms owned by the application.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property FormCollection^ OpenForms { [UIPermissionAttribute(SecurityAction::Demand, Window = UIPermissionWindow::AllWindows)] static FormCollection^ get(); }
Property Value
Type: System.Windows.Forms::FormCollection^A FormCollection containing all the currently open forms owned by this application.
UIPermission
Caller must have permission to access all windows, as defined by the AllWindows value of the UIPermissionWindow enumeration.
.NET Framework
Available since 2.0
Available since 2.0
Show: