DialogResult.cs 630 B

1234567891011121314151617181920212223242526272829303132
  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. /// <summary>
  12. /// Specifies identifiers to indicate the return value of a dialog box.
  13. /// </summary>
  14. //LAMESPEC: Docs say serializable, verifer says no.
  15. //[Serializable]
  16. [ComVisible(true)]
  17. public enum DialogResult {
  18. //Values were verified with enumcheck.
  19. None = 0,
  20. OK = 1,
  21. Cancel = 2,
  22. Abort = 3,
  23. Retry = 4,
  24. Ignore = 5,
  25. Yes = 6,
  26. No = 7,
  27. }
  28. }