C# Class SevenUpdate.Sdk.Pages.UpdateRegistry

Interaction logic for UpdateRegistry.xaml.
Exibir arquivo Open project: robertbaker/SevenUpdate

Public Methods

Method Description
DeleteRegistryItem ( object sender, System.Windows.Input.KeyEventArgs e ) : void

Deletes the selected RegistryItem from the ListBox.

ImportRegistryFile ( object sender, RoutedEventArgs e ) : void

Opens a dialog and imports the selected .reg file.

LoadUI ( object sender, RoutedEventArgs e ) : void

Loads the default values for the UI.

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.

NewRegistryItem ( object sender, RoutedEventArgs e ) : void

Adds a new RegistryItem.

RemoveAll ( object sender, RoutedEventArgs e ) : void

Removes all RegistryItem's from the collection.

RemoveSelected ( object sender, RoutedEventArgs e ) : void

Removes a RegistryItem from a collection.

UpdateRegistry ( ) : System

Initializes a new instance of the UpdateRegistry class.

UpdateUI ( object sender, CompositionChangedEventArgs e ) : void

Updates the UI based on whether Aero Glass is enabled.

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

Restricts the input to the characters needed for RegistryValueKind.

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

Validates the registry path.

Private Methods

Method Description
HasErrors ( ) : bool

Determines whether this instance has errors.

Method Details

DeleteRegistryItem() public method

Deletes the selected RegistryItem from the ListBox.
public DeleteRegistryItem ( object sender, System.Windows.Input.KeyEventArgs e ) : void
sender object The object that called the event.
e System.Windows.Input.KeyEventArgs The System.Windows.Input.KeyEventArgs instance containing the event data.
return void

ImportRegistryFile() public method

Opens a dialog and imports the selected .reg file.
public ImportRegistryFile ( object sender, RoutedEventArgs e ) : void
sender object The object that called the event.
e System.Windows.RoutedEventArgs The System.Windows.RoutedEventArgs instance containing the event data.
return void

LoadUI() public method

Loads the default values for the UI.
public LoadUI ( object sender, RoutedEventArgs e ) : void
sender object The object that called the event.
e System.Windows.RoutedEventArgs The System.Windows.RoutedEventArgs instance containing the event data.
return void

MoveOn() public method

Navigates to the next page if no errors exist.
public MoveOn ( object sender, RoutedEventArgs e ) : void
sender object The object that called the event.
e System.Windows.RoutedEventArgs The System.Windows.RoutedEventArgs instance containing the event data.
return void

NavigateToMainPage() public method

Navigates to the main page.
public NavigateToMainPage ( object sender, RoutedEventArgs e ) : void
sender object The object that called the event.
e System.Windows.RoutedEventArgs The System.Windows.RoutedEventArgs instance containing the event data.
return void

NewRegistryItem() public method

Adds a new RegistryItem.
public NewRegistryItem ( object sender, RoutedEventArgs e ) : void
sender object The object that called the event.
e System.Windows.RoutedEventArgs The System.Windows.RoutedEventArgs instance containing the event data.
return void

RemoveAll() public method

Removes all RegistryItem's from the collection.
public RemoveAll ( object sender, RoutedEventArgs e ) : void
sender object The object that called the event.
e System.Windows.RoutedEventArgs The System.Windows.RoutedEventArgs instance containing the event data.
return void

RemoveSelected() public method

Removes a RegistryItem from a collection.
public RemoveSelected ( object sender, RoutedEventArgs e ) : void
sender object The object that called the event.
e System.Windows.RoutedEventArgs The System.Windows.RoutedEventArgs instance containing the event data.
return void

UpdateRegistry() public method

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

UpdateUI() public method

Updates the UI based on whether Aero Glass is enabled.
public UpdateUI ( object sender, CompositionChangedEventArgs e ) : void
sender object The object that called the event.
e SevenSoftware.Windows.CompositionChangedEventArgs The CompositionChangedEventArgs instance containing the event data.
return void

ValidateData() public method

Restricts the input to the characters needed for RegistryValueKind.
public ValidateData ( object sender, System.Windows.Input.KeyEventArgs e ) : void
sender object The object that called the event.
e System.Windows.Input.KeyEventArgs The System.Windows.Input.KeyEventArgs instance containing the event data.
return void

ValidateRegistryPath() public method

Validates the registry path.
public ValidateRegistryPath ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
sender object The object that called the event.
e System.Windows.Controls.TextChangedEventArgs The TextChangedEventArgs instance containing the event data.
return void