Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
fmShowException.cs
Go to the documentation of this file.
1 #region License
2 /* **********************************************************************************
3  * Copyright (c) Roman Ivantsov
4  * This source code is subject to terms and conditions of the MIT License
5  * for Irony. A copy of the license can be found in the License.txt file
6  * at the root of this distribution.
7  * By using this source code in any fashion, you are agreeing to be bound by the terms of the
8  * MIT License.
9  * You must not remove this notice from this software.
10  * **********************************************************************************/
11 #endregion
12 
13 using System;
14 using System.Collections.Generic;
15 using System.ComponentModel;
16 using System.Data;
17 using System.Drawing;
18 using System.Text;
19 using System.Windows.Forms;
20 
21 namespace Irony.GrammarExplorer {
22  public partial class fmShowException : Form {
23  public fmShowException() {
24  InitializeComponent();
25  }
26  public static void ShowException(Exception ex) {
28  fm.txtException.Text = ex.ToString();
29  fm.txtException.Select(0, 0);
30  fm.Show();
31  }
32  }
33 }
static void ShowException(Exception ex)