Skip to content

Instantly share code, notes, and snippets.

@ElemarJR
Created August 1, 2012 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ElemarJR/3226728 to your computer and use it in GitHub Desktop.
Save ElemarJR/3226728 to your computer and use it in GitHub Desktop.
<Window x:Class="AsyncWpf.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="auto"></RowDefinition>
</Grid.RowDefinitions>
<ListBox Name="output"></ListBox>
<StackPanel Grid.Row="1" Orientation="Horizontal">
<Button Name="StartButton" Click="StartButtonClick">Start</Button>
<Button Name="StopButton" IsEnabled="False" Click="StopButtonClick">Stop</Button>
</StackPanel>
</Grid>
</Window>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment