private void multipleExceptionsToolStripMenuItem_Click(object sender, EventArgs e) { var multiple = new MultipleForm(); multiple.ShowDialog(this); decimal count = multiple.NumericUpDown.Value; for (int i = 0; i < count; i++) { new ApplicationException("Multiple Crash Test.").ToExceptionless().SetUserDescription("*****@*****.**", "Testing multiple crash reports. " + i).Submit(); //r.Description = "Testing multiple crash reports."; //r.EmailAddress = "*****@*****.**"; } }
private void multipleExceptionsToolStripMenuItem_Click(object sender, EventArgs e) { var multiple = new MultipleForm(); multiple.ShowDialog(this); decimal count = multiple.NumericUpDown.Value; for (int i = 0; i < count; i++) { new ApplicationException("Multiple Crash Test.").ToExceptionless().SetUserDescription("*****@*****.**", "Testing multiple crash reports. " + i).Submit(); } }