Esempio n. 1
0
        protected void Add(AddWindowType add)
        {
            AddSelectedNode = tree.SelectedNodes.Count > 0 ? tree.SelectedNodes.LastOrDefault().Tag as Node : null;

            List<string> CleanedFilename = GetFilenames(Model.Nodes, false);

            frmAdd frm = new frmAdd(CleanedFilename, add);
            Variables.OpenedForm.Add(frm);
            frm.Show();
            frm.FilesAdded += new EventHandler<FilesAddedArgs>(frm_FilesAdded);
        }
Esempio n. 2
0
        protected void Add(AddWindowType add)
        {
            AddSelectedNode = tree.SelectedNodes.Count > 0 ? tree.SelectedNodes.LastOrDefault().Tag as Node : null;

            List <string> CleanedFilename = GetFilenames(Model.Nodes, false);

            frmAdd frm = new frmAdd(CleanedFilename, add);

            Variables.OpenedForm.Add(frm);
            frm.Show();
            frm.FilesAdded += new EventHandler <FilesAddedArgs>(frm_FilesAdded);
        }