 | UIMessageDialogShowMessageDialog 方法 (String, String, Boolean, UIStyle, Boolean, Boolean) |
Sweet 开发框架
确认信息提示框
命名空间:
SweetUI.Forms
程序集:
SweetUI (在 SweetUI.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public static bool ShowMessageDialog(
string message,
string title,
bool showCancelButton,
UIStyle style,
bool showMask = true,
bool topMost = false
)
Public Shared Function ShowMessageDialog (
message As String,
title As String,
showCancelButton As Boolean,
style As UIStyle,
Optional showMask As Boolean = true,
Optional topMost As Boolean = false
) As Boolean
static member ShowMessageDialog :
message : string *
title : string *
showCancelButton : bool *
style : UIStyle *
?showMask : bool *
?topMost : bool
(* Defaults:
let _showMask = defaultArg showMask true
let _topMost = defaultArg topMost false
*)
-> bool
参数
- message
- 类型:SystemString
信息 - title
- 类型:SystemString
标题 - showCancelButton
- 类型:SystemBoolean
显示取消按钮 - style
- 类型:SweetUIUIStyle
主题 - showMask (Optional)
- 类型:SystemBoolean
显示遮罩层 - topMost (Optional)
- 类型:SystemBoolean
置顶
返回值
类型:
Boolean结果
参见