DialogResult.cs 575 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // System.Windows.Forms.DialogResult.cs
  3. //
  4. // Author:
  5. // Jaak Simm ([email protected])
  6. // Dennis Hayes ([email protected])
  7. // (C) 2002 Ximian, Inc. http://www.ximian.com
  8. //
  9. using System;
  10. namespace System.Windows.Forms
  11. {
  12. /// <summary>
  13. /// Specifies identifiers to indicate the return value of a dialog box.
  14. /// </summary>
  15. [Serializable]
  16. //[ComVisible(true)]
  17. public enum DialogResult
  18. {
  19. //Values were verified with enumcheck.
  20. None = 0,
  21. OK = 1,
  22. Cancel = 2,
  23. Abort = 3,
  24. Retry = 4,
  25. Ignore = 5,
  26. Yes = 6,
  27. No = 7,
  28. }
  29. }