Generelle Ausnahmenanzeige
This commit is contained in:
18
PrototypChat/ExceptionWindow.xaml.cs
Normal file
18
PrototypChat/ExceptionWindow.xaml.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
|
||||
namespace ownChat
|
||||
{
|
||||
public partial class ExceptionWindow
|
||||
{
|
||||
public ExceptionWindow(Exception exception)
|
||||
{
|
||||
InitializeComponent();
|
||||
ExceptionViewControl.Exception = exception;
|
||||
}
|
||||
|
||||
private void ExceptionViewControl_OnOkButtonClicked(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user