C# Класс NAPS2.WinForms.FDesktop

Наследование: FormBase, IAutoUpdaterClient
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
AppendRtfEncodedImage bool
AppendThumbnail void
AssignKeyboardShortcuts void
AssignProfileShortcut void
Clear void
CopyImages void
Delete void
DragMoveImages void
EmailPDF void
ExportPDF bool
FDesktop_Closed void
FDesktop_FormClosing void
FDesktop_Shown void
Flip void
GetDataObjectForImages IDataObject
GetDragIndex int
GetHexChar char
GetProfileShortcut string
Import void
ImportDirect void
ImportFiles void
InitLanguageDropdown void
InitializeComponent void
LoadToolStripLocation void
MoveDown void
MoveUp void
OrderFiles List
PasteImages void
PostInitializeComponent void
PreviewImage void
RelayoutToolbar void
RenderThumbnails void
ResetImage void
ResetToolbarMargin void
ResizeThumbnails void
RotateLeft void
RotateRight void
RtfEncodeImages string
RunStillImageEvents void
SaveImages void
SavePDF void
SaveToolStripLocation void
ScanDefault void
ScanWithDevice void
ScanWithNewProfile void
SelectAll void
SetCulture void
SetListSpacing void
SetThumbnailSpacing void
ShowProfilesForm void
ShrinkToolbarMargin void
StepThumbnailSize void
UpdateScanButton void
UpdateThumbnails void
UpdateThumbnails void
UpdateToolbar void
btnZoomIn_Click void
btnZoomOut_Click void
contextMenuStrip_Opening void
ctxCopy_Click void
ctxDelete_Click void
ctxPaste_Click void
ctxSelectAll_Click void
ctxView_Click void
tStrip_DockChanged void
thumbnailList1_DragDrop void
thumbnailList1_DragEnter void
thumbnailList1_DragLeave void
thumbnailList1_DragOver void
thumbnailList1_ItemActivate void
thumbnailList1_ItemDrag void
thumbnailList1_KeyDown void
thumbnailList1_MouseLeave void
thumbnailList1_MouseMove void
thumbnailList1_MouseWheel void
thumbnailList1_SelectedIndexChanged void
tsAbout_Click void
tsAltDeinterleave_Click void
tsAltInterleave_Click void
tsBatchScan_Click void
tsBrightness_Click void
tsClear_Click void
tsContrast_Click void
tsCrop_Click void
tsCustomRotation_Click void
tsDeinterleave_Click void
tsDelete_Click void
tsEmailPDFAll_Click void
tsEmailPDFSelected_Click void
tsEmailSettings_Click void
tsFlip_Click void
tsImageSettings_Click void
tsImport_Click void
tsInterleave_Click void
tsMove_ClickFirst void
tsMove_ClickSecond void
tsNewProfile_Click void
tsOcr_Click void
tsPDFSettings_Click void
tsPdfSettings2_Click void
tsPrint_Click void
tsProfiles_Click void
tsReset_Click void
tsReverseAll_Click void
tsReverseSelected_Click void
tsRotateLeft_Click void
tsRotateRight_Click void
tsSaveImagesAll_Click void
tsSaveImagesSelected_Click void
tsSavePDFAll_Click void
tsSavePDFSelected_Click void
tsScan_ButtonClick void
tsView_Click void
tsdEmailPDF_ButtonClick void
tsdSaveImages_ButtonClick void
tsdSavePDF_ButtonClick void

Открытые методы

Метод Описание
FDesktop ( IEmailer emailer, NAPS2.Util.StringWrapper stringWrapper, AppConfigManager appConfigManager, RecoveryManager recoveryManager, IScannedImageImporter scannedImageImporter, OcrDependencyManager ocrDependencyManager, IProfileManager profileManager, IScanPerformer scanPerformer, IScannedImagePrinter scannedImagePrinter, NAPS2.Util.ChangeTracker changeTracker, NAPS2.ImportExport.Email.EmailSettingsContainer emailSettingsContainer, FileNamePlaceholders fileNamePlaceholders, NAPS2.ImportExport.Images.ImageSettingsContainer imageSettingsContainer, NAPS2.ImportExport.Pdf.PdfSettingsContainer pdfSettingsContainer, StillImage stillImage, IOperationFactory operationFactory, IUserConfigManager userConfigManager, KeyboardShortcutManager ksm, ThumbnailRenderer thumbnailRenderer, DialogHelper dialogHelper ) : System
ReceiveScannedImage ( ScannedImage scannedImage ) : void

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnLoad ( object sender, EventArgs eventArgs ) : void

Приватные методы

Метод Описание
AppendRtfEncodedImage ( Image image, ImageFormat format, StringBuilder sb, bool par ) : bool
AppendThumbnail ( ScannedImage scannedImage ) : void
AssignKeyboardShortcuts ( ) : void
AssignProfileShortcut ( int i, ToolStripMenuItem item ) : void
Clear ( ) : void
CopyImages ( ) : void
Delete ( ) : void
DragMoveImages ( DragEventArgs e ) : void
EmailPDF ( List images ) : void
ExportPDF ( string filename, List images, bool email ) : bool
FDesktop_Closed ( object sender, EventArgs e ) : void
FDesktop_FormClosing ( object sender, FormClosingEventArgs e ) : void
FDesktop_Shown ( object sender, EventArgs e ) : void
Flip ( ) : void
GetDataObjectForImages ( IEnumerable images, bool includeBitmap ) : IDataObject
GetDragIndex ( DragEventArgs e ) : int
GetHexChar ( int n ) : char
GetProfileShortcut ( int i ) : string
Import ( ) : void
ImportDirect ( NAPS2.ImportExport.DirectImageTransfer data, bool copy ) : void
ImportFiles ( IEnumerable files ) : void
InitLanguageDropdown ( ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LoadToolStripLocation ( ) : void
MoveDown ( ) : void
MoveUp ( ) : void
OrderFiles ( IEnumerable files ) : List
PasteImages ( ) : void
PostInitializeComponent ( ) : void

Runs when the form is first loaded and every time the language is changed.

PreviewImage ( ) : void
RelayoutToolbar ( ) : void
RenderThumbnails ( int thumbnailSize, IEnumerable imagesToRenderThumbnailsFor ) : void
ResetImage ( ) : void
ResetToolbarMargin ( ) : void
ResizeThumbnails ( int thumbnailSize ) : void
RotateLeft ( ) : void
RotateRight ( ) : void
RtfEncodeImages ( Bitmap firstBitmap, List images ) : string
RunStillImageEvents ( ) : void
SaveImages ( List images ) : void
SavePDF ( List images ) : void
SaveToolStripLocation ( ) : void
ScanDefault ( ) : void
ScanWithDevice ( string deviceID ) : void
ScanWithNewProfile ( ) : void
SelectAll ( ) : void
SetCulture ( string cultureId ) : void
SetListSpacing ( ListView list, int hspacing, int vspacing ) : void
SetThumbnailSpacing ( int thumbnailSize ) : void
ShowProfilesForm ( ) : void
ShrinkToolbarMargin ( ) : void
StepThumbnailSize ( double step ) : void
UpdateScanButton ( ) : void
UpdateThumbnails ( ) : void
UpdateThumbnails ( IEnumerable selection, bool scrollToSelection, bool optimizeForSelection ) : void
UpdateToolbar ( ) : void
btnZoomIn_Click ( object sender, EventArgs e ) : void
btnZoomOut_Click ( object sender, EventArgs e ) : void
contextMenuStrip_Opening ( object sender, System e ) : void
ctxCopy_Click ( object sender, EventArgs e ) : void
ctxDelete_Click ( object sender, EventArgs e ) : void
ctxPaste_Click ( object sender, EventArgs e ) : void
ctxSelectAll_Click ( object sender, EventArgs e ) : void
ctxView_Click ( object sender, EventArgs e ) : void
tStrip_DockChanged ( object sender, EventArgs e ) : void
thumbnailList1_DragDrop ( object sender, DragEventArgs e ) : void
thumbnailList1_DragEnter ( object sender, DragEventArgs e ) : void
thumbnailList1_DragLeave ( object sender, EventArgs e ) : void
thumbnailList1_DragOver ( object sender, DragEventArgs e ) : void
thumbnailList1_ItemActivate ( object sender, EventArgs e ) : void
thumbnailList1_ItemDrag ( object sender, ItemDragEventArgs e ) : void
thumbnailList1_KeyDown ( object sender, KeyEventArgs e ) : void
thumbnailList1_MouseLeave ( object sender, EventArgs e ) : void
thumbnailList1_MouseMove ( object sender, MouseEventArgs e ) : void
thumbnailList1_MouseWheel ( object sender, MouseEventArgs e ) : void
thumbnailList1_SelectedIndexChanged ( object sender, EventArgs e ) : void
tsAbout_Click ( object sender, EventArgs e ) : void
tsAltDeinterleave_Click ( object sender, EventArgs e ) : void
tsAltInterleave_Click ( object sender, EventArgs e ) : void
tsBatchScan_Click ( object sender, EventArgs e ) : void
tsBrightness_Click ( object sender, EventArgs e ) : void
tsClear_Click ( object sender, EventArgs e ) : void
tsContrast_Click ( object sender, EventArgs e ) : void
tsCrop_Click ( object sender, EventArgs e ) : void
tsCustomRotation_Click ( object sender, EventArgs e ) : void
tsDeinterleave_Click ( object sender, EventArgs e ) : void
tsDelete_Click ( object sender, EventArgs e ) : void
tsEmailPDFAll_Click ( object sender, EventArgs e ) : void
tsEmailPDFSelected_Click ( object sender, EventArgs e ) : void
tsEmailSettings_Click ( object sender, EventArgs e ) : void
tsFlip_Click ( object sender, EventArgs e ) : void
tsImageSettings_Click ( object sender, EventArgs e ) : void
tsImport_Click ( object sender, EventArgs e ) : void
tsInterleave_Click ( object sender, EventArgs e ) : void
tsMove_ClickFirst ( object sender, EventArgs e ) : void
tsMove_ClickSecond ( object sender, EventArgs e ) : void
tsNewProfile_Click ( object sender, EventArgs e ) : void
tsOcr_Click ( object sender, EventArgs e ) : void
tsPDFSettings_Click ( object sender, EventArgs e ) : void
tsPdfSettings2_Click ( object sender, EventArgs e ) : void
tsPrint_Click ( object sender, EventArgs e ) : void
tsProfiles_Click ( object sender, EventArgs e ) : void
tsReset_Click ( object sender, EventArgs e ) : void
tsReverseAll_Click ( object sender, EventArgs e ) : void
tsReverseSelected_Click ( object sender, EventArgs e ) : void
tsRotateLeft_Click ( object sender, EventArgs e ) : void
tsRotateRight_Click ( object sender, EventArgs e ) : void
tsSaveImagesAll_Click ( object sender, EventArgs e ) : void
tsSaveImagesSelected_Click ( object sender, EventArgs e ) : void
tsSavePDFAll_Click ( object sender, EventArgs e ) : void
tsSavePDFSelected_Click ( object sender, EventArgs e ) : void
tsScan_ButtonClick ( object sender, EventArgs e ) : void
tsView_Click ( object sender, EventArgs e ) : void
tsdEmailPDF_ButtonClick ( object sender, EventArgs e ) : void
tsdSaveImages_ButtonClick ( object sender, EventArgs e ) : void
tsdSavePDF_ButtonClick ( object sender, EventArgs e ) : void

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

FDesktop() публичный Метод

public FDesktop ( IEmailer emailer, NAPS2.Util.StringWrapper stringWrapper, AppConfigManager appConfigManager, RecoveryManager recoveryManager, IScannedImageImporter scannedImageImporter, OcrDependencyManager ocrDependencyManager, IProfileManager profileManager, IScanPerformer scanPerformer, IScannedImagePrinter scannedImagePrinter, NAPS2.Util.ChangeTracker changeTracker, NAPS2.ImportExport.Email.EmailSettingsContainer emailSettingsContainer, FileNamePlaceholders fileNamePlaceholders, NAPS2.ImportExport.Images.ImageSettingsContainer imageSettingsContainer, NAPS2.ImportExport.Pdf.PdfSettingsContainer pdfSettingsContainer, StillImage stillImage, IOperationFactory operationFactory, IUserConfigManager userConfigManager, KeyboardShortcutManager ksm, ThumbnailRenderer thumbnailRenderer, DialogHelper dialogHelper ) : System
emailer IEmailer
stringWrapper NAPS2.Util.StringWrapper
appConfigManager AppConfigManager
recoveryManager NAPS2.Recovery.RecoveryManager
scannedImageImporter IScannedImageImporter
ocrDependencyManager NAPS2.Ocr.OcrDependencyManager
profileManager IProfileManager
scanPerformer IScanPerformer
scannedImagePrinter IScannedImagePrinter
changeTracker NAPS2.Util.ChangeTracker
emailSettingsContainer NAPS2.ImportExport.Email.EmailSettingsContainer
fileNamePlaceholders NAPS2.ImportExport.FileNamePlaceholders
imageSettingsContainer NAPS2.ImportExport.Images.ImageSettingsContainer
pdfSettingsContainer NAPS2.ImportExport.Pdf.PdfSettingsContainer
stillImage NAPS2.Util.StillImage
operationFactory IOperationFactory
userConfigManager IUserConfigManager
ksm NAPS2.Util.KeyboardShortcutManager
thumbnailRenderer NAPS2.Scan.Images.ThumbnailRenderer
dialogHelper DialogHelper
Результат System

OnLoad() защищенный Метод

protected OnLoad ( object sender, EventArgs eventArgs ) : void
sender object
eventArgs System.EventArgs
Результат void

ReceiveScannedImage() публичный Метод

public ReceiveScannedImage ( ScannedImage scannedImage ) : void
scannedImage NAPS2.Scan.Images.ScannedImage
Результат void