public MainWindow() { var bootstrapper = new Bootstrapper(); bootstrapper.Run(); Content = bootstrapper.Shell; InitializeComponent(); }
public MyToolWindow() : base(null) { this.Caption = Resources.ToolWindowTitle; this.BitmapResourceID = 301; this.BitmapIndex = 1; var bootstrapper = new Bootstrapper(); bootstrapper.Run(); base.Content = bootstrapper.Shell; }