System.Windows.Forms.Design.IUIService.GetDialogOwnerWindow Method

Gets the window that should be used as the owner when showing dialog boxes.

Syntax

public System.Windows.Forms.IWin32Window GetDialogOwnerWindow ()

Returns

An System.Windows.Forms.IWin32Window that indicates the window to own any child dialog boxes.

Remarks

Some dialog boxes are parented to an owner application and are not visible in the task list. This method returns an System.Windows.Forms.IWin32Window that indicates the window that should be the owner for dialog boxes of this sort that are spawned from an integrated development environment.

Requirements

Namespace: System.Windows.Forms.Design
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0