C# 클래스 SevenUpdate.Sdk.Pages.UpdateFiles

Interaction logic for UpdateFiles.xaml.
파일 보기 프로젝트 열기: robertbaker/SevenUpdate

공개 메소드들

메소드 설명
UpdateFiles ( ) : System

Initializes a new instance of the UpdateFiles class.

비공개 메소드들

메소드 설명
AddFile ( string fullName, string pathToFiles, bool impersonateAppDirectory ) : void

Adds a file to the list.

AddFiles ( IList files, string pathToFiles, bool impersonateAppDirectory ) : void

Adds multiple files to the UpdateFile collection.

BrowseFolder ( object sender, RoutedEventArgs e ) : void

Browses for a folder contains files to add to the UpdateFile collection.

BrowseForFile ( object sender, RoutedEventArgs e ) : void

Browses for a file to add to the UpdateFile collection.

CalculateHash ( UpdateFile &file, string fileLocation = null ) : void

Calculates the hash.

ChangeUI ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Changes the UI based on the selected UpdateFile's FileAction.

CheckHashGenerating ( ) : void

Checks if a hash is generating.

ConvertPath ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void

Converts a path to system variables.

DeleteItem ( object sender, System.Windows.Input.KeyEventArgs e ) : void

Deletes an item from the System.Windows.Controls.ListBox on delete key down.

GetFileSize ( UpdateFile &file, string fileLocation = null ) : void

Gets the size of the file.

HasErrors ( ) : bool

Determines whether this instance has errors.

MoveOn ( object sender, RoutedEventArgs e ) : void

Navigates to the next page if no errors exist.

NavigateToMainPage ( object sender, RoutedEventArgs e ) : void

Navigates to the main page.

RemoveAllFiles ( object sender, RoutedEventArgs e ) : void

Removes all files from the UpdateFile collection.

RemoveFile ( object sender, RoutedEventArgs e ) : void

Removes a files from the UpdateFile collection.

UpdateFile ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Opens a dialog to browse for the selected file in the UpdateFile collection.

UpdateHash ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Updates the hash for the selected UpdateFile.

UpdateUI ( object sender, CompositionChangedEventArgs e ) : void

Updates the UI based on whether Aero Glass is enabled.

ValidateDownloadDirectory ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void

Validates the download directory.

ValidateInstallDirectory ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void

Validates the install directory.

메소드 상세

UpdateFiles() 공개 메소드

Initializes a new instance of the UpdateFiles class.
public UpdateFiles ( ) : System
리턴 System