C# Class booruReader.MainScreenVM

Inheritance: BaseIObservable
Mostra file Open project: earlnuclear/DanbooruBrowser Class Usage Examples

Public Methods

Method Description
Closing ( ) : void

Close command that handles saving of the notes for the databases.

MainScreenVM ( ) : System

Main view model for the BooruReader window

TriggerImageLoading ( ) : void

Private Methods

Method Description
BackgroundLoaderWork ( object sender, DoWorkEventArgs e ) : void

ImageLoader worker todo work. Currently this fetches images for the specified tag and page

CheckForChangedSettings ( ) : void
CloseAllPreviews ( ) : void
DowloadList_CollectionChanged ( object sender, System e ) : void
DownloadsPending ( ) : bool

Performs check on pending downloads and if any are in progress asks user if he really wants to exit.

FetchImages ( ) : void
InitialiseDelegates ( ) : void
OpenSettings ( ) : void
PreviewImage ( string previewURL ) : void
RemoveSelection ( ) : void
SaveImages ( ) : void
ServerListLoadWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Event that gets fired when ImageLoader worker ends

post_DownloadCompleted ( object sender, EventArgs e ) : void
preview_AddedImageToFavorites ( object sender, EventArgs e ) : void
preview_RemovedImageFromFavorites ( object sender, EventArgs e ) : void
preview_UserTagSelection ( object sender, EventArgs e ) : void

Method Details

Closing() public method

Close command that handles saving of the notes for the databases.
public Closing ( ) : void
return void

MainScreenVM() public method

Main view model for the BooruReader window
public MainScreenVM ( ) : System
return System

TriggerImageLoading() public method

public TriggerImageLoading ( ) : void
return void