private void butBugTask_Click(object sender, EventArgs e) { if (_patCur == null) { return; } BugSubmissionL.CreateTask(_patCur, _subCur); }
private void butCompare_Click(object sender, EventArgs e) { InputBox input = new InputBox("Please copy/paste your stack trace to compare to this bug.", true); if (input.ShowDialog() != DialogResult.OK) { return; } string perct = POut.Double(BugSubmissionL.CalculateSimilarity(textStack.Text, input.textResult.Text)); MsgBox.Show(this, perct + "%"); }