コード例 #1
0
ファイル: FDesktop.cs プロジェクト: allanmukhwana/naps2
        public FDesktop(IEmailer emailer, ImageSaver imageSaver, StringWrapper stringWrapper, AppConfigManager appConfigManager, RecoveryManager recoveryManager, IScannedImageImporter scannedImageImporter, AutoUpdaterUI autoUpdaterUI, OcrDependencyManager ocrDependencyManager, IProfileManager profileManager, IScanPerformer scanPerformer, IScannedImagePrinter scannedImagePrinter, ChangeTracker changeTracker, EmailSettingsContainer emailSettingsContainer, FileNamePlaceholders fileNamePlaceholders, ImageSettingsContainer imageSettingsContainer, PdfSettingsContainer pdfSettingsContainer, PdfSaver pdfSaver, IErrorOutput errorOutput)
        {
            this.emailer                = emailer;
            this.imageSaver             = imageSaver;
            this.stringWrapper          = stringWrapper;
            this.appConfigManager       = appConfigManager;
            this.recoveryManager        = recoveryManager;
            this.scannedImageImporter   = scannedImageImporter;
            this.autoUpdaterUI          = autoUpdaterUI;
            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.pdfSaver               = pdfSaver;
            this.errorOutput            = errorOutput;
            InitializeComponent();

            thumbnailList1.MouseWheel += thumbnailList1_MouseWheel;
            Shown       += FDesktop_Shown;
            FormClosing += FDesktop_FormClosing;
            Closed      += FDesktop_Closed;
        }
コード例 #2
0
 public WinFormsExportHelper(PdfSettingsContainer pdfSettingsContainer, ImageSettingsContainer imageSettingsContainer, EmailSettingsContainer emailSettingsContainer, DialogHelper dialogHelper, FileNamePlaceholders fileNamePlaceholders, ChangeTracker changeTracker, IOperationFactory operationFactory, IFormFactory formFactory, IUserConfigManager userConfigManager, IEmailer emailer)
 {
     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.userConfigManager      = userConfigManager;
     this.emailer = emailer;
 }
コード例 #3
0
 public FEmailSettings(EmailSettingsContainer emailSettingsContainer, IUserConfigManager userConfigManager)
 {
     this.emailSettingsContainer = emailSettingsContainer;
     this.userConfigManager      = userConfigManager;
     InitializeComponent();
 }
コード例 #4
0
 public FEmailSettings(EmailSettingsContainer emailSettingsContainer, SystemEmailClients systemEmailClients)
 {
     this.emailSettingsContainer = emailSettingsContainer;
     this.systemEmailClients     = systemEmailClients;
     InitializeComponent();
 }