123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <wpf:ThemableWindow x:Class="PRSDesktop.ManufacturingTreatmentWindow"
- 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:wpf="clr-namespace:InABox.Wpf;assembly=InABox.Wpf"
- xmlns:local="clr-namespace:PRSDesktop"
- mc:Ignorable="d"
- Title="Select Treatments to Apply" Height="800" Width="600" Loaded="Window_Loaded">
- <Grid Margin="5">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="80" />
- <ColumnDefinition Width="85" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- <RowDefinition Height="Auto" />
- </Grid.RowDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="Treatment" Margin="0,0,5,0" />
- <ComboBox x:Name="Treatments" Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="3" SelectedValuePath="Key"
- DisplayMemberPath="Value" SelectionChanged="Treatments_SelectionChanged"
- VerticalContentAlignment="Center" />
- <Label Grid.Row="1" Grid.Column="0" Content="Supplier" Margin="0,5,5,0" />
- <ComboBox x:Name="Suppliers" Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="3" SelectedValuePath="Key"
- DisplayMemberPath="Value" SelectionChanged="Suppliers_SelectionChanged"
- VerticalContentAlignment="Center" Margin="0,5,0,0" />
- <local:ManufacturingTreatmentGrid x:Name="Packets" Grid.Row="2" Grid.Column="0" Margin="0,5,0,5"
- Grid.ColumnSpan="4" />
- <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Grid.Row="3" Grid.Column="2" Padding="0,5,0,5"
- IsEnabled="false" />
- <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Grid.Row="3" Grid.Column="3"
- Padding="0,5,0,5" Margin="5,0,0,0" />
- </Grid>
- </wpf:ThemableWindow>
|