FontDialog.RunDialog(IntPtr) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定文件对话框。
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.
注解
当 RunDialog 字体对话框的用户调用该方法时,将调用 ShowDialog 该方法。