C# Class CoffeeAuth.UserPage

An empty page that can be used on its own or navigated to within a Frame.
Inheritance: Windows.UI.Xaml.Controls.Page
Afficher le fichier Open project: ms-iot/coffee-auth

Méthodes publiques

Méthode Description
UserPage ( ) : CoffeeAuth.Models

Méthodes protégées

Méthode Description
OnNavigatedTo ( NavigationEventArgs e ) : void

Private Methods

Méthode Description
AppBarButton_Click ( object sender, RoutedEventArgs e ) : void
AppBarButton_Click_1 ( object sender, RoutedEventArgs e ) : void
ArduinoReconnectDialog_PrimaryButtonClick ( ContentDialog sender, ContentDialogButtonClickEventArgs args ) : void
Countdown ( ) : void
NameChangeDialog_PrimaryButtonClick ( ContentDialog sender, ContentDialogButtonClickEventArgs args ) : void
SettleDialog_PrimaryButtonClick ( ContentDialog sender, ContentDialogButtonClickEventArgs args ) : void
SettleDialog_SecondaryButtonClick ( ContentDialog sender, ContentDialogButtonClickEventArgs args ) : void
Timer_Tick ( object sender, object e ) : void

Sets text on the CountdownDialog as well as text color

bagButton_Click ( object sender, RoutedEventArgs e ) : void

Credits user value of a Bag of Beans

getCoffeeButton_Click ( object sender, RoutedEventArgs e ) : void

Debits user value of a cup of coffee

milkButton_Click ( object sender, RoutedEventArgs e ) : void

Credits user value of a Jug of Milk

settleButton_Click ( object sender, RoutedEventArgs e ) : void
showToast ( string heading, string body, string body2 ) : void

Shows a notification to affirm an action taken by a user.

Method Details

OnNavigatedTo() protected méthode

protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
Résultat void

UserPage() public méthode

public UserPage ( ) : CoffeeAuth.Models
Résultat CoffeeAuth.Models