Beispiel #1
0
        public SharpenResultsToolWindow() : base(null)
        {
            Caption = "Sharpen Results";

            var control = new SharpenResultsToolWindowControl(this)
            {
                DataContext = SharpenExtensionService.Instance
            };

            Content = control;
        }
        public SharpenResultsToolWindow() : base(null)
        {
            Caption = "Sharpen Results";

            var control = new SharpenResultsToolWindowControl(this)
            {
                DataContext = SharpenExtensionService.Instance // TODO-IG: This is the only place we need the singleton instance. Learn how to properly do dependency injection in VS extensions and remove this.
            };

            Content = control;
        }