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)
上一篇 2022年6月22日 上午7:16
下一篇 2022年6月22日 上午7:16


相关推荐

  • mysql 错误10038_如何解决MySql10038错误

    第一种方法:第一步:先看报错窗口2003can’tconnecttoMySQLserveron’127.0.0.1′(10038).第二步:原因是:远程3306端口未对外开放操作。第三步:首先远程连接服务器,点击”开始”–>”管理工具”–>”高级安全Windows防火墙”。第四步:在打开的窗口中,左边选中”入站规则”,右边点击”新建规则”来建立一个入站规则。第五步:…

    2022年4月18日
    63
  • Java实习生面试题汇总

    Java实习生面试题汇总大三学生实习面试题真题汇总

    2026年3月18日
    1
  • java并发 使用ScheduledExecutor的温室控制器–thinking in java 21.7.5

    java并发 使用ScheduledExecutor的温室控制器–thinking in java 21.7.5

    2022年2月3日
    40
  • Vue(renren-fast_vue_master)项目目录结构[通俗易懂]

    Vue(renren-fast_vue_master)项目目录结构[通俗易懂]打算做一个请假管理OA项目Demo,后端采用renren-fast框架,后台管理系统采用renren-fast_vue_master项目,打算利用renren-fast-vue-master改造成一个简单的请假管理系统,包含注册、登陆、请假流程查看等等简单的展示即可,由于之前没做过Vue,现简单地介绍下项目目录结构:├──build/#Webpack配…

    2025年7月6日
    7
  • SSM整合实现增删改查操作【保姆式教学】

    SSM整合实现增删改查操作【保姆式教学】SSM整合实现增删改查操作【超详细】准备工作环境准备数据库准备开始干活新建个Maven项目ssmtest,加上Web支持添加依赖完整的pom.xml创建entity、dao、service、controller包实体类编写添加lombook持久层接口编写业务层接口编写业务层实现类编写表现层编写整合步骤保证Spring框架在web工程中独立运行第一步:编写spring配置文件并导入约束第二步:使用注解配置业务层第三步:导入log4j.properties配置文件第四步:测试spring能否独立

    2022年5月25日
    53
  • Stripslashes和addslashes 区别

    Stripslashes和addslashes 区别http blog 163 com you mein2009 blog static 90 Stripslashes 函数删除由 addslashes 函数生成的斜杠 语法 stripslashes string string 必需的参数 是规定要检查的字符串 提示和注释 该函数用于

    2026年3月26日
    2

发表回复

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

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