編輯

共用方式為


Window Constructor

Definition

Initializes a new instance of the Window class.

public:
 Window();
[System.Security.SecurityCritical]
public Window ();
public Window ();
Public Sub New ()
Attributes

Remarks

The constructor initializes the Width, Height, Top, and Left properties to their default Window values.

If a window is created within an AppDomain that has an Application object, the constructor adds the Window object to the set of Application-managed windows via the Windows property of the Application object.

Applies to