Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
MessageBoxButton.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 buttons to display in a message box.
8  /// </summary>
9  public enum MessageBoxButton
10  {
11  /// <summary>
12  /// Display a single OK button.
13  /// </summary>
14  OK = 0,
15  /// <summary>
16  /// Display a OK button and a Cancel button.
17  /// </summary>
18  OKCancel = 1,
19  /// <summary>
20  /// Display a Yes button, a No button and a Cancel button.
21  /// </summary>
22  YesNoCancel = 3,
23  /// <summary>
24  /// Display a Yes button and a No button.
25  /// </summary>
26  YesNo = 4,
27  }
28 }
MessageBoxButton
An enum representing the buttons to display in a message box.
Display a Yes button and a No button.
Display a OK button and a Cancel button.
Display a Yes button, a No button and a Cancel button.
Display a single OK button.