示例#1
0
        public MainWindow()
        {
            var bootstrapper = new Bootstrapper();
            bootstrapper.Run();
            Content = bootstrapper.Shell;

            InitializeComponent();
        }
示例#2
0
        public MyToolWindow()
            : base(null)
        {
            this.Caption = Resources.ToolWindowTitle;
            this.BitmapResourceID = 301;
            this.BitmapIndex = 1;

            var bootstrapper = new Bootstrapper();
            bootstrapper.Run();

            base.Content = bootstrapper.Shell;
        }