C# Class FloydPink.Flickr.Downloadr.UI.BrowserWindow

Interaction logic for BrowserWindow.xaml
Inheritance: System.Windows.Window, IBrowserView, INotifyPropertyChanged
Show file Open project: flickr-downloadr/flickr-downloadr Class Usage Examples

Public Methods

Method Description
BrowserWindow ( User user, Preferences preferences ) : System
DownloadComplete ( string downloadedLocation, bool downloadComplete ) : void
ShowSpinner ( bool show ) : void
ShowWarning ( string warningMessage ) : bool
UpdateProgress ( string percentDone, string operationText, bool cancellable ) : void

Private Methods

Method Description
BackButtonClick ( object sender, RoutedEventArgs e ) : void
ClearSelectedPhotos ( ) : void
DeselectAllButtonClick ( object sender, RoutedEventArgs e ) : void
DownloadAllPagesButtonClick ( object sender, RoutedEventArgs e ) : void
DownloadSelectionButtonClick ( object sender, RoutedEventArgs e ) : void
DownloadThisPageButtonClick ( object sender, RoutedEventArgs e ) : void
FirstPageButtonClick ( object sender, RoutedEventArgs e ) : void
LastPageButtonClick ( object sender, RoutedEventArgs e ) : void
LoseFocus ( UIElement element ) : void
NextPageButtonClick ( object sender, RoutedEventArgs e ) : void
PreviousPageButtonClick ( object sender, RoutedEventArgs e ) : void
SelectAllButtonClick ( object sender, RoutedEventArgs e ) : void
SelectAlreadySelectedPhotos ( ) : void
TogglePhotosButtonClick ( object sender, RoutedEventArgs e ) : void

Method Details

BrowserWindow() public method

public BrowserWindow ( User user, Preferences preferences ) : System
user FloydPink.Flickr.Downloadr.Model.User
preferences FloydPink.Flickr.Downloadr.Model.Preferences
return System

DownloadComplete() public method

public DownloadComplete ( string downloadedLocation, bool downloadComplete ) : void
downloadedLocation string
downloadComplete bool
return void

ShowSpinner() public method

public ShowSpinner ( bool show ) : void
show bool
return void

ShowWarning() public method

public ShowWarning ( string warningMessage ) : bool
warningMessage string
return bool

UpdateProgress() public method

public UpdateProgress ( string percentDone, string operationText, bool cancellable ) : void
percentDone string
operationText string
cancellable bool
return void