Skip to content

Instantly share code, notes, and snippets.

@trayburn
Last active December 18, 2015 05:48
Show Gist options
  • Save trayburn/5734997 to your computer and use it in GitHub Desktop.
Save trayburn/5734997 to your computer and use it in GitHub Desktop.
DEMO Code for Hello World C# Created by Tim Rayburn
<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>
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