Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
MessageBoxResult.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 namespace SiliconStudio.Presentation.Services
4 {
5  // TODO: make these enum independent from their System.Windows equivalent
6  /// <summary>
7  /// An enum representing the button pressed by the user to close a message box.
8  /// </summary>
9  public enum MessageBoxResult
10  {
11  /// <summary>
12  /// The message box has not been closed yet.
13  /// </summary>
14  None = 0,
15  /// <summary>
16  /// The user pressed the OK button.
17  /// </summary>
18  OK = 1,
19  /// <summary>
20  /// The user pressed the Cancel button.
21  /// </summary>
22  Cancel = 2,
23  /// <summary>
24  /// The user pressed the Yes button.
25  /// </summary>
26  Yes = 6,
27  /// <summary>
28  /// The user pressed the No button.
29  /// </summary>
30  No = 7,
31  }
32 }
MessageBoxResult
An enum representing the button pressed by the user to close a message box.
The user pressed the No button.
The user pressed the Yes button.
The dialog has been closed by a cancellation from the user.
Display a single OK button.