示例#1
0
        private void button1_Click(object sender, EventArgs e)
        {
            var form = new AddIssueForm();

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

            form.ShowDialog(this);
            RefreshIssues();
            issuesLB.SelectedItem = lastSelected;
        }