Add QueryHistory to Wox (Ctrl+Up and Ctrl+Down)

This commit is contained in:
qianlifeng
2015-02-09 19:16:13 +08:00
parent b8f829dbc3
commit a942882c73
12 changed files with 232 additions and 94 deletions

View File

@@ -55,13 +55,18 @@ namespace Wox.CrashReporter
private void SendReport()
{
string reproduceSteps =
new TextRange(tbReproduceSteps.Document.ContentStart, tbReproduceSteps.Document.ContentEnd).Text;
exception.ToExceptionless()
.SetUserDescription(reproduceSteps)
.Submit();
ExceptionlessClient.Current.ProcessQueue();
Close();
ThreadPool.QueueUserWorkItem(o =>
{
string reproduceSteps = new TextRange(tbReproduceSteps.Document.ContentStart, tbReproduceSteps.Document.ContentEnd).Text;
exception.ToExceptionless()
.SetUserDescription(reproduceSteps)
.Submit();
ExceptionlessClient.Current.ProcessQueue();
Dispatcher.Invoke(new Action(() =>
{
Close();
}));
});
}
private void btnCancel_Click(object sender, RoutedEventArgs e)