C# Class NAPS2.WinForms.DialogHelper

Afficher le fichier Open project: cyanfish/naps2 Class Usage Examples

Méthodes publiques

Méthode Description
DialogHelper ( IUserConfigManager userConfigManager, IFormFactory formFactory ) : System
PromptToSaveImage ( string defaultPath, string &savePath ) : bool
PromptToSavePdf ( string defaultPath, string &savePath ) : bool
PromptToSavePdfOrImage ( string defaultPath, string &savePath ) : bool
ShowErrorWithDetails ( string errorMesage, string details ) : void

Private Methods

Méthode Description
GetDir ( string defaultPath ) : string

Method Details

DialogHelper() public méthode

public DialogHelper ( IUserConfigManager userConfigManager, IFormFactory formFactory ) : System
userConfigManager IUserConfigManager
formFactory IFormFactory
Résultat System

PromptToSaveImage() public méthode

public PromptToSaveImage ( string defaultPath, string &savePath ) : bool
defaultPath string
savePath string
Résultat bool

PromptToSavePdf() public méthode

public PromptToSavePdf ( string defaultPath, string &savePath ) : bool
defaultPath string
savePath string
Résultat bool

PromptToSavePdfOrImage() public méthode

public PromptToSavePdfOrImage ( string defaultPath, string &savePath ) : bool
defaultPath string
savePath string
Résultat bool

ShowErrorWithDetails() public méthode

public ShowErrorWithDetails ( string errorMesage, string details ) : void
errorMesage string
details string
Résultat void