ComponentEditorForm.ShowForm Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Shows the form. The form will have no owner window.
Overloads
ShowForm() |
Shows the form. The form will have no owner window. |
ShowForm(Int32) |
Shows the specified page of the specified form. The form will have no owner window. |
ShowForm(IWin32Window) |
Shows the form with the specified owner. |
ShowForm(IWin32Window, Int32) |
Shows the form and the specified page with the specified owner. |
ShowForm()
Shows the form. The form will have no owner window.
public:
virtual System::Windows::Forms::DialogResult ShowForm();
public virtual System.Windows.Forms.DialogResult ShowForm ();
abstract member ShowForm : unit -> System.Windows.Forms.DialogResult
override this.ShowForm : unit -> System.Windows.Forms.DialogResult
Public Overridable Function ShowForm () As DialogResult
Returns
One of the DialogResult values indicating the result code returned from the dialog box.
See also
Applies to
ShowForm(Int32)
Shows the specified page of the specified form. The form will have no owner window.
public:
virtual System::Windows::Forms::DialogResult ShowForm(int page);
public virtual System.Windows.Forms.DialogResult ShowForm (int page);
abstract member ShowForm : int -> System.Windows.Forms.DialogResult
override this.ShowForm : int -> System.Windows.Forms.DialogResult
Public Overridable Function ShowForm (page As Integer) As DialogResult
Parameters
- page
- Int32
The index of the page to show.
Returns
One of the DialogResult values indicating the result code returned from the dialog box.
See also
Applies to
ShowForm(IWin32Window)
Shows the form with the specified owner.
public:
virtual System::Windows::Forms::DialogResult ShowForm(System::Windows::Forms::IWin32Window ^ owner);
public virtual System.Windows.Forms.DialogResult ShowForm (System.Windows.Forms.IWin32Window owner);
public virtual System.Windows.Forms.DialogResult ShowForm (System.Windows.Forms.IWin32Window? owner);
abstract member ShowForm : System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
override this.ShowForm : System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
Public Overridable Function ShowForm (owner As IWin32Window) As DialogResult
Parameters
- owner
- IWin32Window
The IWin32Window to own the dialog.
Returns
One of the DialogResult values indicating the result code returned from the dialog box.
See also
Applies to
ShowForm(IWin32Window, Int32)
Shows the form and the specified page with the specified owner.
public:
virtual System::Windows::Forms::DialogResult ShowForm(System::Windows::Forms::IWin32Window ^ owner, int page);
public virtual System.Windows.Forms.DialogResult ShowForm (System.Windows.Forms.IWin32Window owner, int page);
public virtual System.Windows.Forms.DialogResult ShowForm (System.Windows.Forms.IWin32Window? owner, int page);
abstract member ShowForm : System.Windows.Forms.IWin32Window * int -> System.Windows.Forms.DialogResult
override this.ShowForm : System.Windows.Forms.IWin32Window * int -> System.Windows.Forms.DialogResult
Public Overridable Function ShowForm (owner As IWin32Window, page As Integer) As DialogResult
Parameters
- owner
- IWin32Window
The IWin32Window to own the dialog.
- page
- Int32
The index of the page to show.
Returns
One of the DialogResult values indicating the result code returned from the dialog box.
See also
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기