Gets a collection of open forms owned by the application.
Public Shared ReadOnly Property OpenForms As FormCollection
public static FormCollection OpenForms { get; }
public: static property FormCollection^ OpenForms { FormCollection^ get (); }
static member OpenForms : FormCollection
The OpenForms property represents a read-only collection of forms owned by the application. This collection can be searched by index position or by the Name of the Form.
Caller must have permission to access all windows, as defined by the AllWindows value of the UIPermissionWindow enumeration.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2