Last active
December 18, 2015 05:48
-
-
Save trayburn/5734997 to your computer and use it in GitHub Desktop.
DEMO Code for Hello World C#
Created by Tim Rayburn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Page.BottomAppBar> | |
<AppBar x:Name="bottomBar" | |
Padding="10,0,10,0"> | |
<Grid> | |
<StackPanel Orientation="Horizontal" | |
HorizontalAlignment="Right"> | |
<Button Style="{StaticResource AddAppBarButtonStyle}" | |
Click="Button_Click" /> | |
</StackPanel> | |
</Grid> | |
</AppBar> | |
</Page.BottomAppBar> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private async void Button_Click(object sender, RoutedEventArgs e) | |
{ | |
var messageDialog = new Windows.UI.Popups.MessageDialog("Hello World!"); | |
await messageDialog.ShowAsync(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment