点击或拖拽改变大小

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

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

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

参数

sessionID
类型:SystemString

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

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

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

args (Optional)
类型:SystemObject

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

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