Application.FormCollection

Wisej.Web.Application FormCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Holds the collection of all top-level application forms.

public class FormCollection : ICollection, IEnumerable

Properties

Count

Int32: Returns the total number of currently open forms.

Item(index)

Form: Returns the form at the specified index.

Item(name)

Form: Returns the first form with the specified name, the search is case insensitive.

Methods

Add(form)

Adds a form to the collection.

Parameter
Type
Description

form

Contains(form)

Return whether the collection contains the specified form.

Parameter
Type
Description

form

Returns: Boolean.

GetEnumerator()

Returns an enumerator that iterates through the open forms.

Returns: IEnumerator.

Remove(form)

Removes the specified form from the collection.

Parameter
Type
Description

form

Last updated

Was this helpful?