private void btnOkClicked(object sender, EventArgs e) { LazyTreeNode newNode = lbWorkingSets.SelectedItem as LazyTreeNode; WorkingSetSelectedArgs args = new WorkingSetSelectedArgs(newNode); if(WorkingSetSelectionMade != null) { WorkingSetSelectionMade(this, args); } this.Close(); }
private void btnOkClicked(object sender, EventArgs e) { LazyTreeNode newNode = lbWorkingSets.SelectedItem as LazyTreeNode; WorkingSetSelectedArgs args = new WorkingSetSelectedArgs(newNode); if (WorkingSetSelectionMade != null) { WorkingSetSelectionMade(this, args); } this.Close(); }