C# 클래스 Nexus.UI.Controls.PromptDialog

파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
PromptDialog ( ) : System

The default constructor.

ShowDialog ( IWin32Window p_wndOwner, string p_strPrompt, string p_strCaption, string p_strDefault ) : string

Displays a prompt dialog with the given message.

ShowDialog ( IWin32Window p_wndOwner, string p_strPrompt, string p_strCaption, string p_strDefault, string p_strValidationPattern, string p_strErrorMessage ) : string

Displays a prompt dialog with the given message.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

butOK_Click ( object sender, EventArgs e ) : void

Hanldes the Control.Click event of the OK button.

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

PromptDialog() 공개 메소드

The default constructor.
public PromptDialog ( ) : System
리턴 System

ShowDialog() 공개 정적인 메소드

Displays a prompt dialog with the given message.
public static ShowDialog ( IWin32Window p_wndOwner, string p_strPrompt, string p_strCaption, string p_strDefault ) : string
p_wndOwner IWin32Window The owner of the prompt window.
p_strPrompt string The prompt message.
p_strCaption string The title of the dialog window.
p_strDefault string The default prompted text.
리턴 string

ShowDialog() 공개 정적인 메소드

Displays a prompt dialog with the given message.
public static ShowDialog ( IWin32Window p_wndOwner, string p_strPrompt, string p_strCaption, string p_strDefault, string p_strValidationPattern, string p_strErrorMessage ) : string
p_wndOwner IWin32Window The owner of the prompt window.
p_strPrompt string The prompt message.
p_strCaption string The title of the dialog window.
p_strDefault string The default prompted text.
p_strValidationPattern string The regular expression to use to validate the entered text.
p_strErrorMessage string The error message to display if the entered text fails validation.
리턴 string