点击或拖拽改变大小

MessageBoxStaticShow 方法 (String, String, MessageBoxButtons, MessageBoxHandler, Object)

显示具有指定文本、按钮的消息框。

命名空间:  Swebui.Controls
程序集:  Swebui.Core (在 Swebui.Core.dll 中) 版本:1.0.134.17496+387d83fa8d4800e0d3012f4c3e32d7e2fc10ae68
语法
public static void Show(
	string sessionID,
	string text,
	MessageBoxButtons buttons,
	MessageBoxHandler handler,
	Object args = null
)

参数

sessionID
类型:SystemString

[缺少 "M:Swebui.Controls.MessageBoxStatic.Show(System.String,System.String,Swebui.Controls.MessageBoxButtons,Swebui.Controls.MessageBoxHandler,System.Object)" 的 <param name="sessionID"/> 文档]

text
类型:SystemString
要在消息框中显示的文本。
buttons
类型:Swebui.ControlsMessageBoxButtons
可指定在消息框中显示哪些按钮。
handler
类型:Swebui.ControlsMessageBoxHandler

[缺少 "M:Swebui.Controls.MessageBoxStatic.Show(System.String,System.String,Swebui.Controls.MessageBoxButtons,Swebui.Controls.MessageBoxHandler,System.Object)" 的 <param name="handler"/> 文档]

args (Optional)
类型:SystemObject

[缺少 "M:Swebui.Controls.MessageBoxStatic.Show(System.String,System.String,Swebui.Controls.MessageBoxButtons,Swebui.Controls.MessageBoxHandler,System.Object)" 的 <param name="args"/> 文档]

备注
在消息框中最多可以有三个按钮。
参见