public StandardEngine( ISettingsManager settingsManager, IBranchManager branchManager, ICommandLineManager commandLineManager, IBannerManager bannerManager, IAppearanceManager appearanceManager, IErrorManager errorManager, IDialogsManager dialogsManager, IHelpManager helpManager, IAdvancedMenuManager advancedMenuManager, IEndpointManager endpointManager ) { SettingsManager = settingsManager; BranchManager = branchManager; BannerManager = bannerManager; AppearanceManager = appearanceManager; CommandLineManager = commandLineManager; ErrorManager = errorManager; DialogsManager = dialogsManager; HelpManager = helpManager; AdvancedMenuManager = advancedMenuManager; EndpointManager = endpointManager; Identifier = Guid.NewGuid(); }
public PrintJobView(PrintJobViewModel viewModel, IBannerManager bannerManager) { _bannerManager = bannerManager; DataContext = viewModel; InitializeComponent(); Loaded += async(sender, args) => await SetBanner(); }
public PrintJobView(PrintJobViewModel viewModel, IBannerManager bannerManager, IRegionManager regionManager) { _bannerManager = bannerManager; _regionManager = regionManager; DataContext = viewModel; ViewModel = viewModel; InitializeComponent(); TransposerHelper.Register(this, viewModel); // Using button.Focus() - see also https://stackoverflow.com/a/45139201 SaveButton.Click += delegate { SaveButton.Focus(); }; Loaded += async(sender, args) => await SetBanner(); }
public BorderlessChildDialogModel(IDialogsManager dialogsManager, IBannerManager bannerManager, IAppearanceManager appearanceManager) : base(dialogsManager, bannerManager, appearanceManager) { ShowInTaskbar = false; }
public BorderedChildDialogModel(IDialogsManager dialogsManager, IBannerManager bannerManager, IAppearanceManager appearanceManager) : base(dialogsManager, bannerManager, appearanceManager) { ShowInTaskbar = false; WindowStyle = WindowStyle.ToolWindow; }
public BorderlessDialogModel(IDialogsManager dialogsManager, IBannerManager bannerManager, IAppearanceManager appearanceManager) : base(dialogsManager, bannerManager, appearanceManager, new BorderlessWindow()) { ShowInTaskbar = true; SuppressCloseQuestion = true; }
public BannerController(IBannerManager bannerManager) { _bannerManager = bannerManager; }
public BorderedDialogModel(IDialogsManager dialogsManager, IBannerManager bannerManager, IAppearanceManager appearanceManager) : base(dialogsManager, bannerManager, appearanceManager, new StarkBorderedWindow()) { ShowInTaskbar = true; WindowStyle = WindowStyle.SingleBorderWindow; }