예제 #1
0
 public FPdfSettings(PdfSettingsContainer pdfSettingsContainer, IUserConfigManager userConfigManager, DialogHelper dialogHelper)
 {
     this.pdfSettingsContainer = pdfSettingsContainer;
     this.userConfigManager = userConfigManager;
     this.dialogHelper = dialogHelper;
     InitializeComponent();
 }
예제 #2
0
 public FImageSettings(ImageSettingsContainer imageSettingsContainer, IUserConfigManager userConfigManager, DialogHelper dialogHelper)
 {
     this.imageSettingsContainer = imageSettingsContainer;
     this.userConfigManager = userConfigManager;
     this.dialogHelper = dialogHelper;
     InitializeComponent();
 }
예제 #3
0
        public FBatchScan(IProfileManager profileManager, AppConfigManager appConfigManager, IconButtonSizer iconButtonSizer, IScanPerformer scanPerformer, IUserConfigManager userConfigManager, BatchScanPerformer batchScanPerformer, IErrorOutput errorOutput, ThreadFactory threadFactory, DialogHelper dialogHelper)
        {
            this.profileManager = profileManager;
            this.appConfigManager = appConfigManager;
            this.iconButtonSizer = iconButtonSizer;
            this.scanPerformer = scanPerformer;
            this.userConfigManager = userConfigManager;
            this.batchScanPerformer = batchScanPerformer;
            this.errorOutput = errorOutput;
            this.threadFactory = threadFactory;
            this.dialogHelper = dialogHelper;
            InitializeComponent();

            RestoreFormState = false;
        }
예제 #4
0
 public MessageBoxErrorOutput(DialogHelper dialogHelper)
 {
     this.dialogHelper = dialogHelper;
 }
예제 #5
0
 public FAutoSaveSettings(DialogHelper dialogHelper)
 {
     this.dialogHelper = dialogHelper;
     InitializeComponent();
 }
예제 #6
0
파일: FDesktop.cs 프로젝트: cyanfish/naps2
        public FDesktop(IEmailer emailer, StringWrapper stringWrapper, AppConfigManager appConfigManager, RecoveryManager recoveryManager, IScannedImageImporter scannedImageImporter, OcrDependencyManager ocrDependencyManager, IProfileManager profileManager, IScanPerformer scanPerformer, IScannedImagePrinter scannedImagePrinter, ChangeTracker changeTracker, EmailSettingsContainer emailSettingsContainer, FileNamePlaceholders fileNamePlaceholders, ImageSettingsContainer imageSettingsContainer, PdfSettingsContainer pdfSettingsContainer, StillImage stillImage, IOperationFactory operationFactory, IUserConfigManager userConfigManager, KeyboardShortcutManager ksm, ThumbnailRenderer thumbnailRenderer, DialogHelper dialogHelper)
        {
            this.emailer = emailer;
            this.stringWrapper = stringWrapper;
            this.appConfigManager = appConfigManager;
            this.recoveryManager = recoveryManager;
            this.scannedImageImporter = scannedImageImporter;
            this.ocrDependencyManager = ocrDependencyManager;
            this.profileManager = profileManager;
            this.scanPerformer = scanPerformer;
            this.scannedImagePrinter = scannedImagePrinter;
            this.changeTracker = changeTracker;
            this.emailSettingsContainer = emailSettingsContainer;
            this.fileNamePlaceholders = fileNamePlaceholders;
            this.imageSettingsContainer = imageSettingsContainer;
            this.pdfSettingsContainer = pdfSettingsContainer;
            this.stillImage = stillImage;
            this.operationFactory = operationFactory;
            this.userConfigManager = userConfigManager;
            this.ksm = ksm;
            this.thumbnailRenderer = thumbnailRenderer;
            this.dialogHelper = dialogHelper;
            InitializeComponent();

            Shown += FDesktop_Shown;
            FormClosing += FDesktop_FormClosing;
            Closed += FDesktop_Closed;
        }
예제 #7
0
 public FAutoSaveSettings(DialogHelper dialogHelper)
 {
     this.dialogHelper = dialogHelper;
     InitializeComponent();
 }
예제 #8
0
파일: FPdfSettings.cs 프로젝트: gas3/twain
 public FPdfSettings(PdfSettingsContainer pdfSettingsContainer, IUserConfigManager userConfigManager, DialogHelper dialogHelper, AppConfigManager appConfigManager)
 {
     this.pdfSettingsContainer = pdfSettingsContainer;
     this.userConfigManager    = userConfigManager;
     this.dialogHelper         = dialogHelper;
     this.appConfigManager     = appConfigManager;
     InitializeComponent();
     AddEnumItems <PdfCompat>(cmbCompat);
 }
예제 #9
0
        public FBatchScan(IProfileManager profileManager, AppConfigManager appConfigManager, IUserConfigManager userConfigManager, BatchScanPerformer batchScanPerformer, IErrorOutput errorOutput, DialogHelper dialogHelper)
        {
            this.profileManager     = profileManager;
            this.appConfigManager   = appConfigManager;
            this.userConfigManager  = userConfigManager;
            this.batchScanPerformer = batchScanPerformer;
            this.errorOutput        = errorOutput;
            this.dialogHelper       = dialogHelper;
            InitializeComponent();

            RestoreFormState = false;
        }
예제 #10
0
 public WinFormsExportHelper(PdfSettingsContainer pdfSettingsContainer, ImageSettingsContainer imageSettingsContainer, EmailSettingsContainer emailSettingsContainer, DialogHelper dialogHelper, FileNamePlaceholders fileNamePlaceholders, ChangeTracker changeTracker, IOperationFactory operationFactory, IFormFactory formFactory, OcrManager ocrManager, IEmailProviderFactory emailProviderFactory, IOperationProgress operationProgress, IUserConfigManager userConfigManager)
 {
     this.pdfSettingsContainer   = pdfSettingsContainer;
     this.imageSettingsContainer = imageSettingsContainer;
     this.emailSettingsContainer = emailSettingsContainer;
     this.dialogHelper           = dialogHelper;
     this.fileNamePlaceholders   = fileNamePlaceholders;
     this.changeTracker          = changeTracker;
     this.operationFactory       = operationFactory;
     this.formFactory            = formFactory;
     this.ocrManager             = ocrManager;
     this.emailProviderFactory   = emailProviderFactory;
     this.operationProgress      = operationProgress;
     this.userConfigManager      = userConfigManager;
 }
예제 #11
0
파일: FPdfSettings.cs 프로젝트: sicmx/naps2
 public FPdfSettings(PdfSettingsContainer pdfSettingsContainer, IUserConfigManager userConfigManager, DialogHelper dialogHelper)
 {
     this.pdfSettingsContainer = pdfSettingsContainer;
     this.userConfigManager    = userConfigManager;
     this.dialogHelper         = dialogHelper;
     InitializeComponent();
 }