C# Class NijieDownloader.UI.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: FirstFloor.ModernUI.Windows.Controls.ModernWindow
Afficher le fichier Open project: Nandaka/NijieDownloader

Méthodes publiques

Свойство Type Description
FILENAME_FORMAT_TOOLTIP string

Méthodes publiques

Méthode 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

Méthode 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 méthode

public MainWindow ( ) : System
Résultat System

NavigateTo() public static méthode

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

SaveAllSettings() public static méthode

public static SaveAllSettings ( ) : void
Résultat void

ValidateFormatList() public méthode

public ValidateFormatList ( string formats ) : void
formats string
Résultat void

makeFilename() public static méthode

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
Résultat string

Property Details

FILENAME_FORMAT_TOOLTIP public_oe static_oe property

public static string FILENAME_FORMAT_TOOLTIP
Résultat string