internal SQProjectFileNode(ProjectNode root, ProjectElement e) : base(root, e) { //imageIndex = this.ImageHandler.ImageList.Images.Count; //this.ImageHandler.AddImage(Icon); SquirrelProjectNode project = (SquirrelProjectNode)root; imageIndex = project.NutIconIndex; }
protected override ProjectNode CreateProject() { /*SQVSProjectNode project = new SQVSProjectNode(this.package); * * project.SetSite((IOleServiceProvider)((IServiceProvider)this.package).GetService(typeof(IOleServiceProvider))); * return project;*/ SquirrelProjectNode project = new SquirrelProjectNode(this.package); project.SetSite((IOleServiceProvider)((IServiceProvider)this.package).GetService(typeof(IOleServiceProvider))); return(project); }