Exemple #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();
        }
Exemple #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();
        }
Exemple #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) );
        }