Beispiel #1
0
 /// <summary>
 /// Initializes a new project instance
 /// </summary>
 /// <param name="package">
 /// The current NuBuild VS package
 /// </param>
 public NuBuildNode(NuBuildPackage package)
 {
     this.package     = package;
     this.projectIcon = new System.Drawing.Icon(
         Assembly.GetExecutingAssembly()
         .GetManifestResourceStream("NuBuild.VS.Resources.NuProj.ico"));
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new project instance
 /// </summary>
 /// <param name="package">
 /// The current NuBuild VS package
 /// </param>
 public NuBuildNode (NuBuildPackage package)
 {
    base.CanProjectDeleteItems = true;
    this.package = package;
    this.NuProjImageIndex = this.ImageHandler.ImageList.Images.Count;
    this.ImageHandler.ImageList.Images.Add(
       new System.Drawing.Icon(
          Assembly.GetExecutingAssembly()
             .GetManifestResourceStream("NuBuild.VS.Resources.NuProj.ico")
       )
    );
    this.NuSpecImageIndex = this.ImageHandler.ImageList.Images.Count;
    this.ImageHandler.ImageList.Images.Add(
       new System.Drawing.Icon(
          Assembly.GetExecutingAssembly()
             .GetManifestResourceStream("NuBuild.VS.Resources.NuSpec.ico")
       )
    );
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new project instance
 /// </summary>
 /// <param name="package">
 /// The current NuBuild VS package
 /// </param>
 public NuBuildNode(NuBuildPackage package)
 {
     base.CanProjectDeleteItems = true;
     this.package          = package;
     this.NuProjImageIndex = this.ImageHandler.ImageList.Images.Count;
     this.ImageHandler.ImageList.Images.Add(
         new System.Drawing.Icon(
             Assembly.GetExecutingAssembly()
             .GetManifestResourceStream("NuBuild.VS.Resources.NuProj.ico")
             )
         );
     this.NuSpecImageIndex = this.ImageHandler.ImageList.Images.Count;
     this.ImageHandler.ImageList.Images.Add(
         new System.Drawing.Icon(
             Assembly.GetExecutingAssembly()
             .GetManifestResourceStream("NuBuild.VS.Resources.NuSpec.ico")
             )
         );
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new factory instance
 /// </summary>
 /// <param name="package">
 /// The current NuBuild VS package
 /// </param>
 public NuBuildFactory (NuBuildPackage package) : base(package)
 {
    this.package = package;
 }
Beispiel #5
0
 /// <summary>
 /// Initializes a new factory instance
 /// </summary>
 /// <param name="package">
 /// The current NuBuild VS package
 /// </param>
 public NuBuildFactory(NuBuildPackage package) : base()
 {
     this.package = package;
 }