RTLAwareMessageBox.Show 메서드
Displays a message box with the specified text, caption, and style. Makes the dialog right-to-left reading order if the resources for this DLL have been localized to a RTL language.
네임스페이스: RadLangSvc
어셈블리: RadLangSvc(RadLangSvc.dll)
구문
‘선언
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
‘사용 방법
Dim owner As IWin32Window
Dim text As String
Dim caption As String
Dim buttons As MessageBoxButtons
Dim icon As MessageBoxIcon
Dim defaultButton As MessageBoxDefaultButton
Dim options As MessageBoxOptions
Dim returnValue As DialogResult
returnValue = RTLAwareMessageBox.Show(owner, text, _
caption, buttons, icon, defaultButton, _
options)
public static DialogResult Show(
IWin32Window owner,
string text,
string caption,
MessageBoxButtons buttons,
MessageBoxIcon icon,
MessageBoxDefaultButton defaultButton,
MessageBoxOptions options
)
public:
static DialogResult Show(
IWin32Window^ owner,
String^ text,
String^ caption,
MessageBoxButtons buttons,
MessageBoxIcon icon,
MessageBoxDefaultButton defaultButton,
MessageBoxOptions options
)
static member Show :
owner:IWin32Window *
text:string *
caption:string *
buttons:MessageBoxButtons *
icon:MessageBoxIcon *
defaultButton:MessageBoxDefaultButton *
options:MessageBoxOptions -> DialogResult
public static function Show(
owner : IWin32Window,
text : String,
caption : String,
buttons : MessageBoxButtons,
icon : MessageBoxIcon,
defaultButton : MessageBoxDefaultButton,
options : MessageBoxOptions
) : DialogResult
매개 변수
- owner
유형: System.Windows.Forms.IWin32Window
The IWin32Window object before which the message box is displayed.
- text
유형: System.String
A string value that specifies the text to display in the message box.
- caption
유형: System.String
A string value that specifies the text to display in the title bar of the message box.
- buttons
유형: System.Windows.Forms.MessageBoxButtons
A MessageBoxButtons object that specifies which buttons to display in the message box.
- icon
유형: System.Windows.Forms.MessageBoxIcon
A MessageBoxIcon object that specifies which icon to display in the message box.
- defaultButton
유형: System.Windows.Forms.MessageBoxDefaultButton
A MessageBoxDefaultButton object that specifies which display and association options are used for the message box.
- options
유형: System.Windows.Forms.MessageBoxOptions
A MessageBoxOptions object that specifies which display and association options are used by the message box.
반환 값
유형: System.Windows.Forms.DialogResult
A DialogResult object.