SwebMessageBoxShow 方法 (String, String, String, MessageBoxHandler, Object) |
显示具有指定文本、标题、按钮和默认按钮的消息框。
命名空间:
Swebui.Controls
程序集:
Swebui.Core (在 Swebui.Core.dll 中) 版本:1.0.133.17134+2c49d126d464232ac9a5157f96561862d8e39182
语法public void Show(
string text,
string caption,
string[] buttons,
MessageBoxHandler handler,
Object args = null
)
Public Sub Show (
text As String,
caption As String,
buttons As String(),
handler As MessageBoxHandler,
Optional args As Object = Nothing
)
参数
- text
- 类型:SystemString
要在消息框中显示的文本 - caption
- 类型:SystemString
要在消息框的标题栏中显示的文本 - buttons
- 类型:SystemString
可指定在消息框中显示哪些按钮 - handler
- 类型:Swebui.ControlsMessageBoxHandler
消息回调 - args (Optional)
- 类型:SystemObject
扩展数据
参见