Exemple #1
0
        public void Initialize(IDnSpyLoaderContentProvider content, Window window)
        {
            this.window             = window;
            this.dnSpyLoaderControl = new DnSpyLoaderControl();
            this.dnSpyLoaderControl.Image.Source = imageManager.GetImage(GetType().Assembly, "dnSpy-Big", ((SolidColorBrush)themeManager.Theme.GetColor(ColorType.EnvironmentBackground).Background).Color);
            this.content = content;
            this.content.SetLoadingContent(this.dnSpyLoaderControl);

            this.window.ContentRendered += Window_ContentRendered;
            this.window.IsEnabled        = false;
        }
Exemple #2
0
		public void Initialize(IDnSpyLoaderContentProvider content, Window window, IAppCommandLineArgs appArgs) {
			this.window = window;
			this.appArgs = appArgs;
			this.dnSpyLoaderControl = new DnSpyLoaderControl();
			this.dnSpyLoaderControl.Image.Source = imageManager.GetImage(GetType().Assembly, "dnSpy-Big", ((SolidColorBrush)themeManager.Theme.GetColor(ColorType.EnvironmentBackground).Background).Color);
			this.content = content;
			this.content.SetLoadingContent(this.dnSpyLoaderControl);

			this.window.ContentRendered += Window_ContentRendered;
			this.window.IsEnabled = false;
		}