RTLAwareMessageBox.Show 메서드

정의

지정한 텍스트, 캡션 및 스타일을 사용하여 메시지 상자를 표시합니다. 이 DLL의 리소스가 RTL 언어로 지역화된 경우 대화 상자를 오른쪽에서 왼쪽으로 읽기 순서로 설정합니다.

public:
 static System::Windows::Forms::DialogResult Show(System::Windows::Forms::IWin32Window ^ owner, System::String ^ text, System::String ^ caption, System::Windows::Forms::MessageBoxButtons buttons, System::Windows::Forms::MessageBoxIcon icon, System::Windows::Forms::MessageBoxDefaultButton defaultButton, System::Windows::Forms::MessageBoxOptions options);
public static System.Windows.Forms.DialogResult Show (System.Windows.Forms.IWin32Window owner, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options);
static member Show : System.Windows.Forms.IWin32Window * string * string * System.Windows.Forms.MessageBoxButtons * System.Windows.Forms.MessageBoxIcon * System.Windows.Forms.MessageBoxDefaultButton * System.Windows.Forms.MessageBoxOptions -> System.Windows.Forms.DialogResult
Public Shared Function Show (owner As IWin32Window, text As String, caption As String, buttons As MessageBoxButtons, icon As MessageBoxIcon, defaultButton As MessageBoxDefaultButton, options As MessageBoxOptions) As DialogResult

매개 변수

owner
IWin32Window

메시지 상자가 앞에 표시되는 IWin32Window 개체입니다.

text
String

메시지 상자에 표시할 텍스트를 지정하는 문자열 값입니다.

caption
String

메시지 상자의 제목 표시줄에 표시할 텍스트를 지정하는 문자열 값입니다.

buttons
MessageBoxButtons

메시지 상자에 표시할 단추를 지정하는 MessageBoxButtons 개체입니다.

icon
MessageBoxIcon

메시지 상자에 표시할 아이콘을 지정하는 MessageBoxIcon 개체입니다.

defaultButton
MessageBoxDefaultButton

메시지 상자에 사용되는 표시 및 연결 옵션을 지정하는 MessageBoxDefaultButton 개체입니다.

options
MessageBoxOptions

메시지 상자가 사용하는 표시 및 연결 옵션을 지정하는 MessageBoxOptions 개체입니다.

반환

DialogResult 개체입니다.

적용 대상