Form.DialogResult 属性

Form.DialogResult 属性设置或获取窗体的对话框结果命名空间:System.Windows.Forms程序集:System.Windows.Forms(在system.windows.forms.dll中)namespaceSystem.Windows.Forms{//摘要://Specifiesidentifierstoindicatethereturnva…

大家好,又见面了,我是你们的朋友全栈君。

设置或获取窗体的对话框结果

命名空间:System.Windows.Forms
程序集:System.Windows.Forms(在 system.windows.forms.dll 中)

 

namespace System.Windows.Forms
{
// 摘要:
// Specifies identifiers to indicate the return value of a dialog box.
[ComVisible(true)]
public enum DialogResult
{
// 摘要:
// Nothing is returned from the dialog box. This means that the modal dialog
// continues running.
None = 0,
//
// 摘要:
// The dialog box return value is OK (usually sent from a button labeled OK).
OK = 1,
//
// 摘要:
// The dialog box return value is Cancel (usually sent from a button labeled
// Cancel).
Cancel = 2,
//
// 摘要:
// The dialog box return value is Abort (usually sent from a button labeled
// Abort).
Abort = 3,
//
// 摘要:
// The dialog box return value is Retry (usually sent from a button labeled
// Retry).
Retry = 4,
//
// 摘要:
// The dialog box return value is Ignore (usually sent from a button labeled
// Ignore).
Ignore = 5,
//
// 摘要:
// The dialog box return value is Yes (usually sent from a button labeled Yes).
Yes = 6,
//
// 摘要:
// The dialog box return value is No (usually sent from a button labeled No).
No = 7,
}

MSDN文档

 

 

转载于:https://www.cnblogs.com/ericyi/archive/2012/03/29/2422897.html

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/152182.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • QTreeView 使用

    QTreeView 使用QTreeView结构介绍:树控件的标题QHeaderView,相关用法参考Qt文档。控件使用的model/view框架,QTreeView实现了QAbstractItemView里声明的相关接口,由QAbstractItemModel为控件提供显示数据。自定义数据,通过QStandardItemModel和QTreeView连用,用QStandardItem属性介绍:…

    2022年6月2日
    48
  • 佳能A720IS 使用技巧集

    佳能A720IS 使用技巧集买佳能A720IS好长时间了,一直都是以auto模式进行拍摄,今天忽然想学习一下A720IS的使用技巧,于是就在网上搜到了下面的技巧,在这里发出来,和朋友们共享一下.1、点测光怎么用?点测光是从P档

    2022年7月3日
    39
  • 即时通讯源代码,im源码功能全套[通俗易懂]

    即时通讯源代码,im源码功能全套[通俗易懂]即时通讯源代码,im源码,im源代码即时通讯全套源码语言:C/C++语言编写,VC++开发平台产品包含完善的即时通讯系统,是一套集即时通讯和视频会议为一体的企业级办公协同交流产品,可以广泛应用于政府、企业、教育机构和公司等客户端:大致功能(具体以产品演示为准):在线文字聊天离线留言历史消息记录查询 公告消息提醒语音聊天 视频聊天群发留言 输入状态感知个…

    2022年5月14日
    247
  • c# 操作ad域用户

    c# 操作ad域用户测试环境:win2008r2服务器ad域服务器安装参考:https://www.cnblogs.com/cnjavahome/p/9029665.html密码策略修改参考:https://blog.csdn.net/zouyujie1127/article/details/40857675工作机dns设置为ad域服务器的ipusing:usingSystem.DirectoryServ…

    2022年5月16日
    122
  • Swift 启动页动画(CAKeyframeAnimation)

    Swift 启动页动画(CAKeyframeAnimation)

    2021年5月27日
    153
  • mysql数据类型tinyint_mysql字段类型长度

    mysql数据类型tinyint_mysql字段类型长度在MySQL的数据类型中,Tinyint的取值范围是:带符号的范围是-128到127。无符号的范围是0到255(见官方《MySQL5.1参考手册》http://dev.mysql.com/doc/refman/5.1/zh/column-types.html#numeric-types)。Tinyint占用1字节的存储空间,即8位(bit)。那么Tinyint的取值范围怎么来的呢?我们先看无符号…

    2022年9月21日
    1

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号