示例#1
0
        private static bool ShowDialog(EventSubmittingEventArgs e)
        {
            var  dialog = new CrashReportDialog(e.Client, e.Event);
            bool?result = dialog.ShowDialog();

            return(result.HasValue && result.Value);
        }
        private static bool ShowDialog(Error e)
        {
            var  dialog = new CrashReportDialog(e);
            bool?result = dialog.ShowDialog();

            return(result.HasValue && result.Value);
        }