C# Class Com.Aurora.AuWeather.MainPage

Inheritance: Windows.UI.Xaml.Controls.Page, IThemeble
显示文件 Open project: aurora-lzzp/Aurora-Weather

Public Properties

Property Type Description
Current MainPage

Public Methods

Method Description
ChangeThemeColor ( Color color ) : void
MainPage ( ) : Windows.UI.Xaml.Controls

Private Methods

Method Description
B_Click ( object sender, RoutedEventArgs e ) : void
Button_Click ( object sender, RoutedEventArgs e ) : void
ChangeColor ( Color back, Color fore, SolidColorBrush foreground ) : void
ChangeColor ( SolidColorBrush foreground ) : void
ChangeCondition ( WeatherCondition condition, bool isNight, string city, Temperature nowL, Temperature nowH ) : void
CitiesPageGotoEditMode ( ) : void
CitiesPageQuitEditMode ( ) : void
CitiesPanel_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void
Cities_Click ( object sender, RoutedEventArgs e ) : void
CreateCancel ( ) : void
Hamburger_Click ( object sender, RoutedEventArgs e ) : void
HideUpdateButton_Click ( object sender, RoutedEventArgs e ) : void
MainFrame_Navigated ( object sender, Windows e ) : void
MainPage_BackRequested ( object sender, Windows e ) : void
Navigate ( Type page ) : void
NavigatetoSettings ( Type option ) : void
NowPanelClose_Completed ( object sender, object e ) : void
NowPanel_PointerEntered ( object sender, Windows e ) : void
NowPanel_PointerExited ( object sender, Windows e ) : void
NowPanel_PointerPressed ( object sender, Windows e ) : void
NowPanel_PointerReleased ( object sender, Windows e ) : void
OpenCalculator ( IUICommand command ) : void
Page_Unloaded ( object sender, RoutedEventArgs e ) : void
PaneList_Loaded ( object sender, RoutedEventArgs e ) : void
PaneList_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void
ReCalcPaneFormat ( ) : void
Refresh_Click ( object sender, RoutedEventArgs e ) : void
ReloadTheme ( ) : void
Root_PaneClosed ( SplitView sender, object args ) : void
SetCitiesPanel ( ICollection cities, int currentIndex ) : void
SetIndex ( int currentIndex ) : void
Settings_Click ( object sender, RoutedEventArgs e ) : void
ShowUpdateDetail ( ) : void
TextBlock_PointerReleased ( object sender, Windows e ) : void
Today_Click ( object sender, RoutedEventArgs e ) : void
UpdatePanel_ManipulationCompleted ( object sender, Windows e ) : void
UpdatePanel_ManipulationDelta ( object sender, Windows e ) : void

Method Details

ChangeThemeColor() public method

public ChangeThemeColor ( Color color ) : void
color Color
return void

MainPage() public method

public MainPage ( ) : Windows.UI.Xaml.Controls
return Windows.UI.Xaml.Controls

Property Details

Current public_oe static_oe property

public static MainPage Current
return MainPage