### YamlMime:ManagedReference
items:
- uid: Terminal.MessageBox
  id: MessageBox
  children:
  - Terminal.MessageBox.#ctor
  - Terminal.MessageBox.ErrorQuery(System.Int32,System.Int32,System.String,System.String,System.String[])
  - Terminal.MessageBox.Query(System.Int32,System.Int32,System.String,System.String,System.String[])
  langs:
  - csharp
  name: MessageBox
  nameWithType: MessageBox
  fullName: Terminal.MessageBox
  type: Class
  assemblies:
  - Terminal
  namespace: Terminal
  summary: Message box displays a modal message to the user, with a title, a message and a series of options that the user can choose from.
  syntax:
    content: public class MessageBox
  inheritance:
  - System.Object
  implements: []
  inheritedMembers: []
- uid: Terminal.MessageBox.#ctor
  id: '#ctor'
  parent: Terminal.MessageBox
  langs:
  - csharp
  name: MessageBox()
  nameWithType: MessageBox.MessageBox()
  fullName: MessageBox.MessageBox()
  type: Constructor
  assemblies:
  - Terminal
  namespace: Terminal
  syntax:
    content: public MessageBox ();
    parameters: []
  overload: Terminal.MessageBox.#ctor*
  exceptions: []
- uid: Terminal.MessageBox.ErrorQuery(System.Int32,System.Int32,System.String,System.String,System.String[])
  id: ErrorQuery(System.Int32,System.Int32,System.String,System.String,System.String[])
  parent: Terminal.MessageBox
  langs:
  - csharp
  name: ErrorQuery(Int32, Int32, String, String, String[])
  nameWithType: MessageBox.ErrorQuery(Int32, Int32, String, String, String[])
  fullName: MessageBox.ErrorQuery(Int32, Int32, String, String, String[])
  type: Method
  assemblies:
  - Terminal
  namespace: Terminal
  summary: Presents an error message box with the specified title and message and a list of buttons to show to the user.
  syntax:
    content: public static int ErrorQuery (int width, int height, string title, string message, string[] buttons);
    parameters:
    - id: width
      type: System.Int32
      description: Width for the window.
    - id: height
      type: System.Int32
      description: Height for the window.
    - id: title
      type: System.String
      description: Title for the query.
    - id: message
      type: System.String
      description: Message to display, might contain multiple lines..
    - id: buttons
      type: System.String[]
      description: Array of buttons to add.
    return:
      type: System.Int32
      description: The index of the selected button, or -1 if the user pressed ESC to close the dialog.
  overload: Terminal.MessageBox.ErrorQuery*
  exceptions: []
- uid: Terminal.MessageBox.Query(System.Int32,System.Int32,System.String,System.String,System.String[])
  id: Query(System.Int32,System.Int32,System.String,System.String,System.String[])
  parent: Terminal.MessageBox
  langs:
  - csharp
  name: Query(Int32, Int32, String, String, String[])
  nameWithType: MessageBox.Query(Int32, Int32, String, String, String[])
  fullName: MessageBox.Query(Int32, Int32, String, String, String[])
  type: Method
  assemblies:
  - Terminal
  namespace: Terminal
  summary: Presents a message with the specified title and message and a list of buttons to show to the user.
  syntax:
    content: public static int Query (int width, int height, string title, string message, string[] buttons);
    parameters:
    - id: width
      type: System.Int32
      description: Width for the window.
    - id: height
      type: System.Int32
      description: Height for the window.
    - id: title
      type: System.String
      description: Title for the query.
    - id: message
      type: System.String
      description: Message to display, might contain multiple lines..
    - id: buttons
      type: System.String[]
      description: Array of buttons to add.
    return:
      type: System.Int32
      description: The index of the selected button, or -1 if the user pressed ESC to close the dialog.
  overload: Terminal.MessageBox.Query*
  exceptions: []
references:
- uid: System.Object
  parent: System
  isExternal: true
  name: Object
  nameWithType: Object
  fullName: System.Object
- uid: Terminal.MessageBox.#ctor
  parent: Terminal.MessageBox
  isExternal: false
  name: MessageBox()
  nameWithType: MessageBox.MessageBox()
  fullName: MessageBox.MessageBox()
- uid: Terminal.MessageBox.ErrorQuery(System.Int32,System.Int32,System.String,System.String,System.String[])
  parent: Terminal.MessageBox
  isExternal: false
  name: ErrorQuery(Int32, Int32, String, String, String[])
  nameWithType: MessageBox.ErrorQuery(Int32, Int32, String, String, String[])
  fullName: MessageBox.ErrorQuery(Int32, Int32, String, String, String[])
- uid: System.Int32
  parent: System
  isExternal: true
  name: Int32
  nameWithType: Int32
  fullName: System.Int32
- uid: System.String
  parent: System
  isExternal: true
  name: String
  nameWithType: String
  fullName: System.String
- uid: System.String[]
  parent: System
  isExternal: true
  name: String[]
  nameWithType: String[]
  fullName: System.String[]
  spec.csharp:
  - uid: System.String
    name: String
    nameWithType: String
    fullName: System.String
  - name: '[]'
    nameWithType: '[]'
    fullName: '[]'
- uid: Terminal.MessageBox.Query(System.Int32,System.Int32,System.String,System.String,System.String[])
  parent: Terminal.MessageBox
  isExternal: false
  name: Query(Int32, Int32, String, String, String[])
  nameWithType: MessageBox.Query(Int32, Int32, String, String, String[])
  fullName: MessageBox.Query(Int32, Int32, String, String, String[])
- uid: Terminal.MessageBox.#ctor*
  parent: Terminal.MessageBox
  isExternal: false
  name: MessageBox
  nameWithType: MessageBox.MessageBox
  fullName: MessageBox.MessageBox
- uid: Terminal.MessageBox.ErrorQuery*
  parent: Terminal.MessageBox
  isExternal: false
  name: ErrorQuery
  nameWithType: MessageBox.ErrorQuery
  fullName: MessageBox.ErrorQuery
- uid: Terminal.MessageBox.Query*
  parent: Terminal.MessageBox
  isExternal: false
  name: Query
  nameWithType: MessageBox.Query
  fullName: MessageBox.Query
