/// <summary> /// Initializes a new instance of the <see cref="BuildProgressToolWindow" /> class. /// </summary> public BuildProgressToolWindow() : base(null) { // Set the tool window caption. Caption = DefaultCaption; // Set the tool window image from resources. BitmapResourceID = 502; BitmapIndex = 0; // Create the view model. _viewModel = new BuildProgressViewModel(); // Set the tool window content. base.Content = new BuildProgressView { DataContext = _viewModel }; }
/// <summary> /// Initializes a new instance of the <see cref="BuildProgressToolWindow" /> class. /// </summary> public BuildProgressToolWindow() : base(null) { // Set the tool window caption. Caption = DefaultCaption; // Set the tool window image from moniker. BitmapImageMoniker = new ImageMoniker { Guid = PackageGuids.GuidCodeMaidImageMoniker, Id = 1 }; // Create the view model. _viewModel = new BuildProgressViewModel(); // Set the tool window content. base.Content = new BuildProgressView { DataContext = _viewModel }; }