示例#1
0
文件: Folder.cs 项目: faboo/faux
        public virtual void Add(Node node)
        {
            if(!Contents.Contains(node)) {
                if(node is OtherFile)
                    node = new File(node as OtherFile);
                else if(node is OtherFilesFolder)
                    node = new Folder(node as OtherFilesFolder);

                AddCore(node);
            }
        }
示例#2
0
 private void LaunchFile(File node)
 {
     node.Launch(macros);
 }