コード例 #1
0
ファイル: FPdfSettings.cs プロジェクト: cyanfish/naps2
 public FPdfSettings(PdfSettingsContainer pdfSettingsContainer, IUserConfigManager userConfigManager, DialogHelper dialogHelper)
 {
     this.pdfSettingsContainer = pdfSettingsContainer;
     this.userConfigManager = userConfigManager;
     this.dialogHelper = dialogHelper;
     InitializeComponent();
 }
コード例 #2
0
ファイル: FImageSettings.cs プロジェクト: cyanfish/naps2
 public FImageSettings(ImageSettingsContainer imageSettingsContainer, IUserConfigManager userConfigManager, DialogHelper dialogHelper)
 {
     this.imageSettingsContainer = imageSettingsContainer;
     this.userConfigManager = userConfigManager;
     this.dialogHelper = dialogHelper;
     InitializeComponent();
 }
コード例 #3
0
ファイル: FBatchScan.cs プロジェクト: cyanfish/naps2
        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
ファイル: FAutoSaveSettings.cs プロジェクト: cyanfish/naps2
 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
ファイル: FAutoSaveSettings.cs プロジェクト: ziceptor/naps2
 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();
 }