rename, part 1

This commit is contained in:
bao-qian
2016-05-20 19:38:38 +01:00
parent 7490cb81b8
commit e4c7842f34
3 changed files with 0 additions and 0 deletions

26
Wox/CrashReporter.cs Normal file
View File

@@ -0,0 +1,26 @@
using System;
namespace Wox.CrashReporter
{
public class CrashReporter
{
private Exception exception;
public CrashReporter(Exception e)
{
exception = e;
}
public void Show()
{
if (exception == null) return;
if (exception.InnerException != null)
{
exception = exception.InnerException;
}
ReportWindow reportWindow = new ReportWindow(exception);
reportWindow.Show();
}
}
}