PowerToys/Wox.CrashReporter/CrashReporter.cs
2015-01-11 21:52:30 +08:00

26 lines
486 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Wox.CrashReporter
{
public class CrashReporter
{
private Exception exception;
public CrashReporter(Exception e)
{
exception = e;
}
public void Show()
{
if (exception == null) return;
ReportWindow reportWindow = new ReportWindow(exception);
reportWindow.Show();
}
}
}