private void IssuesForm_DragDrop(object sender, DragEventArgs e) { var detail = new IssueDetail(plugin, Guid.Empty, plugin.creators, plugin.reporters, plugin.assigneds, plugin.authors); // Hack the drag/drop load onto event shown detail_Shown_sender = sender; detail_Shown_e = e; detail.Shown += new EventHandler(detail_Shown); if (DialogResult.OK == detail.ShowDialog(this)) writeOutIssue(detail); }
private void NewIssue_Click(object sender, EventArgs e) { var detail = new IssueDetail(plugin, Guid.Empty, plugin.creators, plugin.reporters, plugin.assigneds, plugin.authors); if (DialogResult.OK == detail.ShowDialog(this)) writeOutIssue(detail); }
private void editIssue(Guid uuid) { var detail = new IssueDetail(plugin, uuid, plugin.creators, plugin.reporters, plugin.assigneds, plugin.authors); if (DialogResult.OK == detail.ShowDialog(this) && detail.changed) writeOutIssue(detail); }