点击或拖拽改变大小

DSkinMessageBoxShow 方法 (IWin32Window, String, String, MessageBoxIcon, AnimationTypes, Boolean, Int32, Object)

显示继承样式消息窗

命名空间:  DSkin.Forms
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public static DialogResult Show(
	IWin32Window owner,
	string text,
	string caption,
	MessageBoxIcon icon,
	AnimationTypes animationType,
	bool fullScreenMask,
	int defaultButtonIndex,
	params Object[] buttons
)

参数

owner
类型:System.Windows.FormsIWin32Window
所有者
text
类型:SystemString
内容
caption
类型:SystemString
标题
icon
类型:System.Windows.FormsMessageBoxIcon
图标和系统音效
animationType
类型:DSkin.FormsAnimationTypes

[缺少 "M:DSkin.Forms.DSkinMessageBox.Show(System.Windows.Forms.IWin32Window,System.String,System.String,System.Windows.Forms.MessageBoxIcon,DSkin.Forms.AnimationTypes,System.Boolean,System.Int32,System.Object[])" 的 <param name="animationType"/> 文档]

fullScreenMask
类型:SystemBoolean
是否全屏遮罩
defaultButtonIndex
类型:SystemInt32
默认按钮索引
buttons
类型:SystemObject
按钮属性对象集合 new {Text="确定",DialogResult=DialogResult.OK},new {Text="取消",DialogResult=DialogResult.Cancel} 也可以设置其他样式属性,属性可以参考DSkinButton

返回值

类型:DialogResult

[缺少 "M:DSkin.Forms.DSkinMessageBox.Show(System.Windows.Forms.IWin32Window,System.String,System.String,System.Windows.Forms.MessageBoxIcon,DSkin.Forms.AnimationTypes,System.Boolean,System.Int32,System.Object[])" 的 <returns> 文档]

参见