protected virtual void OnAddSetButtonClicked(object sender, System.EventArgs e) { SelectNodeSetDialog dlg = new SelectNodeSetDialog(project, registry, adesc); if (dlg.Run() == (int)ResponseType.Ok) { nodeSet.NodeSets.Add(dlg.SelectedNodeSet); Update(); } dlg.Destroy(); }
protected virtual void OnAddSetButtonClicked (object sender, System.EventArgs e) { SelectNodeSetDialog dlg = new SelectNodeSetDialog (project, registry, adesc); if (dlg.Run () == (int) ResponseType.Ok) { nodeSet.NodeSets.Add (dlg.SelectedNodeSet); Update (); } dlg.Destroy (); }