public UpdateWindowCommand(WindowManager windowManager, RozhodciService rozhodciService, CetaService cetaService, Settings settings, Printer printer)
 {
     _windowManager   = windowManager;
     _rozhodciService = rozhodciService;
     _cetaService     = cetaService;
     _settings        = settings;
     _printer         = printer;
 }
Exemple #2
0
        public WindowManager(Settings settings)
        {
            var printer         = new Printer(settings);
            var rozhodciService = new RozhodciService(settings);
            var cetaService     = new CetaService(settings);

            _updateWindowCommand = new UpdateWindowCommand(this, rozhodciService, cetaService, settings, printer);
            _updateWindowCommand.Execute(ViewType.Rozhodci);
        }