Example #1
0
        private void Feedback_Click(object sender, RoutedEventArgs e)
        {
            var d = new Windows.Feedback("", false)
            {
                Owner = Window.GetWindow(this)
            };

            d.ShowDialog();
        }
Example #2
0
        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();
        }
Example #3
0
        private void Feedback_Click(object sender, RoutedEventArgs e)
        {
            var d = new Windows.Feedback("", false);

            d.ShowDialog();
        }