[This is preliminary documentation and is subject to change.]
Initializes a new instance of the AutoCenterWindows class with a given Form and AutoCenterWindowsMode.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public AutoCenterWindows( Form owner, AutoCenterWindowsMode mode )
Public Sub New ( _ owner As Form, _ mode As AutoCenterWindowsMode _ )
public: AutoCenterWindows( Form^ owner, AutoCenterWindowsMode mode )
Parameters
- mode (AutoCenterWindowsMode)
- The AutoCenterWindowsMode to operate in; either AllWindows or FirstWindowOnly.