C# Class Kreyos.Classes.Screens.HomeScreen

Inheritance: PhoneApplicationPage
Exibir arquivo Open project: kreyosopensource/KreyosWP

Public Methods

Method Description
AddCommand ( ObserverInfo p_info ) : void
HomeScreen ( ) : System
MoveToPage ( EPivotPage p_page ) : void

Call this when you're in MainScreen

Protected Methods

Method Description
OnBackKeyPress ( System e ) : void

Disable "Back Key"

OnNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e ) : void

Override navigate event to change the Pivot's currect item. Call this when you're not in MainScreen.

Private Methods

Method Description
FetchDataForPage ( EPivotPage p_page ) : void

Fetch data on specfici swcreen

HandleCommand ( ObserverInfo p_command ) : void

Handle commands

OnPivotChangedPage ( object sender, System e ) : void

Handle the change pivot view

UpdateCommands ( Object p_sender, EventArgs p_args ) : void

Method Details

AddCommand() public method

public AddCommand ( ObserverInfo p_info ) : void
p_info Kreyos.Classes.Managers.ObserverInfo
return void

HomeScreen() public method

public HomeScreen ( ) : System
return System

MoveToPage() public method

Call this when you're in MainScreen
public MoveToPage ( EPivotPage p_page ) : void
p_page EPivotPage
return void

OnBackKeyPress() protected method

Disable "Back Key"
protected OnBackKeyPress ( System e ) : void
e System
return void

OnNavigatedTo() protected method

Override navigate event to change the Pivot's currect item. Call this when you're not in MainScreen.
protected OnNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e ) : void
e System.Windows.Navigation.NavigationEventArgs
return void