C# Class SevenUpdate.Sdk.Pages.Main

Interaction logic for Main.xaml.
Datei anzeigen Open project: robertbaker/SevenUpdate

Public Methods

Method Description
ChangeUI ( object sender, RoutedPropertyChangedEventArgs e ) : void

Updates the UI based on the TreeViewItem selected.

DeleteItem ( object sender, RoutedEventArgs e ) : void

Deletes an item from the TreeView and Project collection.

EditSelectedItem ( object sender, RoutedEventArgs e ) : void

Edits the selected project item.

LoadProjects ( ) : void

Loads the projects.

LoadUI ( object sender, RoutedEventArgs e ) : void

Loads the collection of Project's into the UI.

Main ( ) : System

Initializes a new instance of the Main class.

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

Opens a browser and opens the support page.

NewProject ( object sender, RoutedEventArgs e ) : void

Creates a new project.

NewUpdate ( object sender, RoutedEventArgs e ) : void

Creates a new update for the selected Project.

ReleaseSua ( object sender, RoutedEventArgs e ) : void

Opens a dialog and saves the Sua for the selected project.

ReleaseSui ( object sender, RoutedEventArgs e ) : void

Opens a dialog and saves the Sui for the selected project.

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

Selects the TreeViewItem when right clicking on the TreeView.

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

Shows the About Dialog window.

UpdateUI ( object sender, CompositionChangedEventArgs e ) : void

Updates the UI based on whether Aero Glass is enabled.

Method Details

ChangeUI() public method

Updates the UI based on the TreeViewItem selected.
public ChangeUI ( object sender, RoutedPropertyChangedEventArgs e ) : void
sender object The object that called the event.
e RoutedPropertyChangedEventArgs The EventArgs instance containing the event data.
return void

DeleteItem() public method

Deletes an item from the TreeView and Project collection.
public DeleteItem ( 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

EditSelectedItem() public method

Edits the selected project item.
public EditSelectedItem ( 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

LoadProjects() public method

Loads the projects.
public LoadProjects ( ) : void
return void

LoadUI() public method

Loads the collection of Project's into 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

Main() public method

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

NavigateToSupport() public method

Opens a browser and opens the support page.
public NavigateToSupport ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object The object that called the event.
e System.Windows.Input.MouseButtonEventArgs The System.Windows.Input.MouseButtonEventArgs instance containing the event data.
return void

NewProject() public method

Creates a new project.
public NewProject ( 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

NewUpdate() public method

Creates a new update for the selected Project.
public NewUpdate ( 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

ReleaseSua() public method

Opens a dialog and saves the Sua for the selected project.
public ReleaseSua ( 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

ReleaseSui() public method

Opens a dialog and saves the Sui for the selected project.
public ReleaseSui ( 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

SelectedItemOnRightClick() public method

Selects the TreeViewItem when right clicking on the TreeView.
public SelectedItemOnRightClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object The object that called the event.
e System.Windows.Input.MouseButtonEventArgs The System.Windows.Input.MouseButtonEventArgs instance containing the event data.
return void

ShowAboutDialog() public method

Shows the About Dialog window.
public ShowAboutDialog ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object The object that called the event.
e System.Windows.Input.MouseButtonEventArgs The System.Windows.Input.MouseButtonEventArgs instance containing the event data.
return void

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