StockTakeWindow.xaml 1.5 KB

12345678910111213141516171819202122232425262728
  1. <Window x:Class="PRSDesktop.StockTakeWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:PRSDesktop"
  7. mc:Ignorable="d"
  8. Title="Stock Take" Height="800" Width="1200" WindowStartupLocation="CenterScreen">
  9. <Grid Margin="5">
  10. <DockPanel Grid.Row="0" Margin="2,0,0,0">
  11. <Border CornerRadius="5,5,0,0" BorderBrush="Gray" BorderThickness="0.75" DockPanel.Dock="Top"
  12. Background="WhiteSmoke">
  13. <Label Content="Stock Summary For Selected Locations" HorizontalContentAlignment="Center" />
  14. </Border>
  15. <local:StockTakeHoldingGrid x:Name="Holdings" DockPanel.Dock="Top" Margin="0,2,0,0" />
  16. </DockPanel>
  17. <Grid Grid.Row="0" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="170" Height="36" Margin="0">
  18. <Grid.ColumnDefinitions>
  19. <ColumnDefinition Width="*"/>
  20. <ColumnDefinition Width="*"/>
  21. </Grid.ColumnDefinitions>
  22. <Button Grid.Column="0" Content="OK" Margin="5, 6, 2.5, 0" BorderBrush="DarkGray" Click="Ok_Button_Click"/>
  23. <Button Grid.Column="1" Content="Cancel" Margin="2.5, 6, 0, 0" BorderBrush="DarkGray" Click="Cancel_Button_Click"/>
  24. </Grid>
  25. </Grid>
  26. </Window>