แก้ไข

แชร์ผ่าน


FolderNameEditor.FolderBrowser.ShowDialog Method

Definition

Shows the folder browser dialog.

Overloads

ShowDialog()

Shows the folder browser dialog.

ShowDialog(IWin32Window)

Shows the folder browser dialog with the specified owner.

ShowDialog()

Source:
FolderNameEditor.FolderBrowser.cs
Source:
FolderNameEditor.FolderBrowser.cs
Source:
FolderNameEditor.FolderBrowser.cs

Shows the folder browser dialog.

public:
 System::Windows::Forms::DialogResult ShowDialog();
public System.Windows.Forms.DialogResult ShowDialog ();
member this.ShowDialog : unit -> System.Windows.Forms.DialogResult
Public Function ShowDialog () As DialogResult

Returns

The DialogResult from the form.

Applies to

ShowDialog(IWin32Window)

Source:
FolderNameEditor.FolderBrowser.cs
Source:
FolderNameEditor.FolderBrowser.cs
Source:
FolderNameEditor.FolderBrowser.cs

Shows the folder browser dialog with the specified owner.

public:
 System::Windows::Forms::DialogResult ShowDialog(System::Windows::Forms::IWin32Window ^ owner);
public System.Windows.Forms.DialogResult ShowDialog (System.Windows.Forms.IWin32Window owner);
public System.Windows.Forms.DialogResult ShowDialog (System.Windows.Forms.IWin32Window? owner);
member this.ShowDialog : System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
Public Function ShowDialog (owner As IWin32Window) As DialogResult

Parameters

owner
IWin32Window

Top-level window that will own the modal dialog (e.g.: System.Windows.Forms.Form).

Returns

The DialogResult from the form.

Applies to