private void Feedback_Click(object sender, RoutedEventArgs e) { var d = new Windows.Feedback("", false) { Owner = Window.GetWindow(this) }; d.ShowDialog(); }
public static void CurrentDomain_UnhandledException(ILog log, object sender, UnhandledExceptionEventArgs e) { var feedbackMsg = ""; if (e.ExceptionObject != null) { feedbackMsg = "An error occurred: " + ((Exception)e.ExceptionObject).ToString(); log?.Error(feedbackMsg); } var d = new Windows.Feedback(feedbackMsg, isException: true); d.ShowDialog(); }
private void Feedback_Click(object sender, RoutedEventArgs e) { var d = new Windows.Feedback("", false); d.ShowDialog(); }