private void button1_Click(object sender, EventArgs e) { var form = new AddIssueForm(); form.ShowDialog(this); RefreshIssues(); }
private void button1_Click(object sender, EventArgs e) { lastSelected = issuesLB.SelectedItem as Issue; var form = new AddIssueForm(); form.ShowDialog(this); RefreshIssues(); issuesLB.SelectedItem = lastSelected; }