 | UIMessageDialogShowAskDialog 方法 (Form, String, String, UIStyle) |
Sweet 开发框架
确认信息提示框
命名空间:
SweetUI.Forms
程序集:
SweetUI (在 SweetUI.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public static bool ShowAskDialog(
this Form form,
string title,
string msg,
UIStyle style = UIStyle.Blue
)
<ExtensionAttribute>
Public Shared Function ShowAskDialog (
form As Form,
title As String,
msg As String,
Optional style As UIStyle = UIStyle.Blue
) As Boolean
[<ExtensionAttribute>]
static member ShowAskDialog :
form : Form *
title : string *
msg : string *
?style : UIStyle
(* Defaults:
let _style = defaultArg style UIStyle.Blue
*)
-> bool
参数
- form
- 类型:System.Windows.FormsForm
窗体 - title
- 类型:SystemString
标题 - msg
- 类型:SystemString
信息 - style (Optional)
- 类型:SweetUIUIStyle
[缺少 "M:SweetUI.Forms.UIMessageDialog.ShowAskDialog(System.Windows.Forms.Form,System.String,System.String,SweetUI.UIStyle)" 的 <param name="style"/> 文档]
返回值
类型:
Boolean结果
备注
在 Visual Basic 和 C# 中,这个方法可以当成为类型
Form 的实例方法来调用。在采用实例方法语法调用这个方法时,请省略第一个参数。请参考
扩展方法 (Visual Basic) 或
扩展方法 (C# 编程指南) 获取更多信息。
参见