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();
        }
예제 #2
0
		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 ();
		}