Add help window, adjust window sizes, add error handling for when Transit is down
[SnapShooter.git] / SnapShooter / MainWindow.xaml
index 4c1bc1c..96f4fee 100644 (file)
@@ -1,9 +1,19 @@
 <Window x:Class="SnapShooter.MainWindow"
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
-    Title="SnapShooter" Height="300" Width="600"
+    Title="SnapShooter" Height="300" Width="350"
     Loaded="Window_Loaded">
     <Grid>
-        <ListBox Name="SnapShots" />
+        <Grid.RowDefinitions>
+            <RowDefinition Height="Auto" />
+            <RowDefinition Height="*" />
+        </Grid.RowDefinitions>
+        <StackPanel Name="Menu" HorizontalAlignment="Right" Orientation="Horizontal">
+            <CheckBox Margin="4" Name="Enabled" Checked="Enabled_Checked" Unchecked="Enabled_Unchecked" IsChecked="True">Enabled</CheckBox>
+            <TextBlock Margin="4">
+                <Hyperlink Click="Help_Click">Help</Hyperlink>
+            </TextBlock>
+        </StackPanel>
+        <ListBox Name="SnapShots" Grid.Row="1" HorizontalContentAlignment="Stretch" />
     </Grid>
 </Window>