ExceptionWindow erzeugt
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user