Пример #1
0
 public FViewer(ChangeTracker changeTracker, IOperationFactory operationFactory, WinFormsExportHelper exportHelper, AppConfigManager appConfigManager)
 {
     this.changeTracker    = changeTracker;
     this.operationFactory = operationFactory;
     this.exportHelper     = exportHelper;
     this.appConfigManager = appConfigManager;
     InitializeComponent();
 }
Пример #2
0
 public FViewer(ChangeTracker changeTracker, IOperationFactory operationFactory, WinFormsExportHelper exportHelper, AppConfigManager appConfigManager, ScannedImageRenderer scannedImageRenderer, KeyboardShortcutManager ksm, UserConfigManager userConfigManager)
 {
     this.changeTracker        = changeTracker;
     this.operationFactory     = operationFactory;
     this.exportHelper         = exportHelper;
     this.appConfigManager     = appConfigManager;
     this.scannedImageRenderer = scannedImageRenderer;
     this.ksm = ksm;
     this.userConfigManager = userConfigManager;
     InitializeComponent();
 }
Пример #3
0
        public FDesktop(IScanDriverFactory driverFactory, AppConfigManager appConfigManager, IProfileManager profileManager, IScanPerformer scanPerformer,
                        WinFormsExportHelper exportHelper, NotificationManager notify)
        {
            this.driverFactory = driverFactory;

            this.appConfigManager = appConfigManager;
            this.profileManager   = profileManager;
            this.scanPerformer    = scanPerformer;
            this.exportHelper     = exportHelper;
            this.notify           = notify;
            InitializeComponent();

            notify.ParentForm = this;
        }