C# Class NAPS2.WinForms.DialogHelper

显示文件 Open project: cyanfish/naps2 Class Usage Examples

Public Methods

Method 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

Method Description
GetDir ( string defaultPath ) : string

Method Details

DialogHelper() public method

public DialogHelper ( IUserConfigManager userConfigManager, IFormFactory formFactory ) : System
userConfigManager IUserConfigManager
formFactory IFormFactory
return System

PromptToSaveImage() public method

public PromptToSaveImage ( string defaultPath, string &savePath ) : bool
defaultPath string
savePath string
return bool

PromptToSavePdf() public method

public PromptToSavePdf ( string defaultPath, string &savePath ) : bool
defaultPath string
savePath string
return bool

PromptToSavePdfOrImage() public method

public PromptToSavePdfOrImage ( string defaultPath, string &savePath ) : bool
defaultPath string
savePath string
return bool

ShowErrorWithDetails() public method

public ShowErrorWithDetails ( string errorMesage, string details ) : void
errorMesage string
details string
return void