示例#1
0
        public void Fill(SerializedFileException ex)
        {
            string innerMessage = ex.InnerException?.ToString();

            Fill(DefaultGameName, ex.Version.ToString(), ex.Platform.ToString(), ex.FileName, ex.Message, innerMessage, ex.StackTrace);
            AddHyperlink(ex.FileName, ex.FilePath);
            SystemSounds.Beep.Play();
        }
 private void ReportCrash(SerializedFileException ex)
 {
     ReportCrash(ex.ToString());
     Dispatcher.InvokeAsync(() =>
     {
         BugReportWindow window = new BugReportWindow();
         window.Owner           = this;
         window.Fill(ex);
         window.ShowDialog();
     });
 }