C# Class NijieDownloader.UI.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: FirstFloor.ModernUI.Windows.Controls.ModernWindow
Datei anzeigen Open project: Nandaka/NijieDownloader

Public Properties

Property Type Description
FILENAME_FORMAT_TOOLTIP string

Public Methods

Method Description
MainWindow ( ) : System
NavigateTo ( Page page, string url ) : bool

Navigate to specific page.

SaveAllSettings ( ) : void
ValidateFormatList ( string formats ) : void
makeFilename ( JobDownloadViewModel job, NijieImage image, int currPage, FilenameFormatType type = FilenameFormatType.Image ) : string

Create Filename based on format on job and image information.

Private Methods

Method Description
ConfigureBot ( ) : void
CurrentDomain_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
Current_DispatcherUnhandledException ( object sender, System e ) : void
ModernWindow_Closed ( object sender, EventArgs e ) : void
Nijie_LoggingEventHandler ( object sender, bool e ) : void

Logging In/Out handler.

checkUpgrade ( ) : void

Method Details

MainWindow() public method

public MainWindow ( ) : System
return System

NavigateTo() public static method

Navigate to specific page.
public static NavigateTo ( Page page, string url ) : bool
page Page source page
url string target url
return bool

SaveAllSettings() public static method

public static SaveAllSettings ( ) : void
return void

ValidateFormatList() public method

public ValidateFormatList ( string formats ) : void
formats string
return void

makeFilename() public static method

Create Filename based on format on job and image information.
public static makeFilename ( JobDownloadViewModel job, NijieImage image, int currPage, FilenameFormatType type = FilenameFormatType.Image ) : string
job JobDownloadViewModel
image NijieImage
currPage int
type FilenameFormatType
return string

Property Details

FILENAME_FORMAT_TOOLTIP public_oe static_oe property

public static string FILENAME_FORMAT_TOOLTIP
return string