| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <wpf:ThemableWindow x:Class="PRSDesktop.StockSelectionPage"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:PRSDesktop"
- xmlns:wpf="clr-namespace:InABox.Wpf;assembly=InABox.Wpf"
- xmlns:WPF="clr-namespace:InABox.WPF;assembly=InABox.Wpf"
- mc:Ignorable="d" Title="Requisition Stock for Line"
- Width="1000" WindowStartupLocation="CenterScreen"
- SizeToContent="Height"
- MaxHeight="600"
- x:Name="Window">
- <wpf:ThemableWindow.Resources>
- <WPF:BooleanToVisibilityConverter x:Key="boolToVisibilityConverter" TrueValue="Visible" FalseValue="Collapsed"/>
- </wpf:ThemableWindow.Resources>
- <Grid DataContext="{Binding ElementName=Window}">
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="auto"/>
- </Grid.RowDefinitions>
- <Border Grid.Column="0" BorderThickness="2" BorderBrush="Gray" Background="WhiteSmoke" Margin="5" Padding="15">
- <TextBlock x:Name="jobLbl" Text="Job" HorizontalAlignment="Center" FontSize="14" VerticalAlignment="Center" FontWeight="DemiBold"/>
- </Border>
- <local:StockSelectionGrid x:Name="Grid" Grid.Row="1" Margin="5"
- PropertyChanged="Grid_PropertyChanged"
- AfterRefresh="Grid_OnAfterRefresh"/>
- <DockPanel Grid.Row="2" LastChildFill="False">
- <Button x:Name="CancelButton" Click="CancelButton_Click"
- Content="Cancel"
- Margin="5" Padding="5" MinWidth="60"
- DockPanel.Dock="Right"/>
- <Button x:Name="OKButton" Click="OKButton_Click"
- Content="OK"
- Margin="5,5,0,5" Padding="5" MinWidth="60"
- DockPanel.Dock="Right"
- IsEnabled="{Binding CanSave}"/>
- </DockPanel>
- </Grid>
- </wpf:ThemableWindow>
|