zoukankan      html  css  js  c++  java
  • Form.DialogResult 属性

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

    命名空间: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文档

  • 相关阅读:
    sql语句添加查询字段
    SqlServer Case when then用法总结
    单例与多线程
    HttpSession详解
    范式
    SQL语句中的Having子句与where子句
    HTTP无状态
    字节流与字符流的区别
    选择排序
    ReentrantLock VS synchronized
  • 原文地址:https://www.cnblogs.com/ericyi/p/2422897.html
Copyright © 2011-2022 走看看