大家好,又见面了,我是你们的朋友全栈君。
设置或获取窗体的对话框结果
命名空间: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
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/152182.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...