语言

ColorDialog.RunDialog(IntPtr) 方法

定义

在派生类中重写时,指定一个通用对话框。

protected:
 override bool RunDialog(IntPtr hwndOwner);
protected override bool RunDialog(IntPtr hwndOwner);
override this.RunDialog : nativeint -> bool
Protected Overrides Function RunDialog (hwndOwner As IntPtr) As Boolean

参数

hwndOwner
IntPtr

nativeint

一个值,表示公共对话框的所有者窗口的窗口句柄。

返回

true 如果对话框已成功运行,则为否则,为 false.

适用于

另请参阅