ExceptionWindow erzeugt

This commit is contained in:
Husky
2019-08-13 21:32:18 +02:00
parent 28d3ea2ed2
commit 009faaccde
3 changed files with 55 additions and 6 deletions

View File

@@ -10,11 +10,25 @@ using System.Windows.Forms;
namespace SanSystem
{
/// <summary>
///
/// </summary>
public partial class frmExceptionWindow : Form
{
public frmExceptionWindow()
/// <summary>
///
/// </summary>
/// <param name="message"></param>
public frmExceptionWindow(string message)
{
InitializeComponent();
txt_error.Text = message;
txt_error.ReadOnly = true;
}
private void Button1_Click(object sender, EventArgs e)
{
Environment.Exit(0);
}
}
}