예제 #1
0
        public void AddWorkingSetLink(LazyTreeNode tn, LazyTreeNode ws)
        {
            var frmWS = new AddWSLink();
            frmWS.LoadList(ws);
            frmWS.WorkingSetSelectionMade += new AddWSLink.ChosenWorkingSet(frmWS_WorkingSetSelectionMade);
            AddLinkToWorkingSet = tn;
            frmWS.ShowDialog();

            //dataManager.workingSet.AddWorkingSetLink();
        }
예제 #2
0
        public void AddWorkingSetLink(LazyTreeNode tn, LazyTreeNode ws)
        {
            var frmWS = new AddWSLink();

            frmWS.LoadList(ws);
            frmWS.WorkingSetSelectionMade += new AddWSLink.ChosenWorkingSet(frmWS_WorkingSetSelectionMade);
            AddLinkToWorkingSet            = tn;
            frmWS.ShowDialog();



            //dataManager.workingSet.AddWorkingSetLink();
        }
예제 #3
0
        private void frmWS_WorkingSetSelectionMade(object sender, AddWSLink.WorkingSetSelectedArgs e)
        {
            if(e.Node==null) return;

            dataManager.workingSet.AddWorkingSetLink(e.Node.Name,AddLinkToWorkingSet.Name);
            view.UpdateNode(e.Node.Name, GetNodeChildren(e.Node.Name) );
        }