C# Class SevenUpdate.Pages.Main

Interaction logic for Main.xaml.
ファイルを表示 Open project: robertbaker/SevenUpdate

Public Methods

Method Description
Main ( ) : System

Initializes a new instance of the Main class.

Private Methods

Method Description
CheckForUpdates ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Checks for updates.

CheckIfConnecting ( object sender, System.Timers.ElapsedEventArgs e ) : void

Check if Seven Update is still trying to connect to WcfService.

DownloadCompleted ( DownloadCompletedEventArgs e ) : void

Updates the UI when the downloading of updates completes.

DownloadCompleted ( object sender, DownloadCompletedEventArgs e ) : void

Updates the UI when the downloading of updates has completed.

DownloadInstallUpdates ( ) : void

Downloads updates.

DownloadProgressChanged ( DownloadProgressChangedEventArgs e ) : void

Updates the UI when the download progress has changed.

DownloadProgressChanged ( object sender, DownloadProgressChangedEventArgs e ) : void

Updates the UI when the download progress has changed.

ErrorOccurred ( ErrorOccurredEventArgs e ) : void

Sets the UI when an error occurs.

ErrorOccurred ( object sender, ErrorOccurredEventArgs e ) : void

Sets the UI when an error has occurred.

Init ( object sender, RoutedEventArgs e ) : void

Loads settings and UI for the page.

InstallCompleted ( InstallCompletedEventArgs e ) : void

Updates the UI when the installation has completed.

InstallCompleted ( object sender, InstallCompletedEventArgs e ) : void

Sets the UI when the installation of updates has completed.

InstallProgressChanged ( InstallProgressChangedEventArgs e ) : void

Updates the UI when the installation progress has changed.

InstallProgressChanged ( object sender, InstallProgressChangedEventArgs e ) : void

Sets the UI when the install progress has changed.

NavigateToGoogleCode ( object sender, System.Windows.Navigation.RequestNavigateEventArgs e ) : void

Opens a browser and navigates to the Uri.

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

Navigates to the Options page.

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

Navigates to the Restore Updates page.

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

Navigates to the Update History page.

OpenErrorLog ( object sender, System.Windows.Navigation.RequestNavigateEventArgs e ) : void

Opens a browser and navigates to the Uri.

PerformAction ( object sender, RoutedEventArgs e ) : void

Performs an action based on the UpdateAction.

SearchCompleted ( SearchCompletedEventArgs e ) : void

Updates the UI the search for updates has completed.

SearchCompleted ( object sender, SearchCompletedEventArgs e ) : void

Sets the UI when the search for updates has completed.

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

Handles the MouseDown event of the ImportantUpdates control.

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

Selects optional updates and navigates to the UpdateInfo page.

SetUI ( UpdateAction action ) : void

Sets the UI based on the UpdateAction.

SetUI ( object sender, EventArgs e ) : void

Sets the UI when the update action is changed.

SettingsChanged ( object sender, EventArgs e ) : void

Checks for updates after settings were changed.

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

Shows the About Dialog window.

UpdateSelectionChanged ( object sender, UpdateInfo e ) : void

Updates the UI when the update selection changes.

UpdateUI ( object sender, CompositionChangedEventArgs e ) : void

Changes the UI depending on whether Aero Glass is enabled.

Method Details

Main() public method

Initializes a new instance of the Main class.
public Main ( ) : System
return System