SetoutTemplate.xaml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <wpf:ThemableWindow x:Class="PRSDesktop.SetoutTemplate"
  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. xmlns:wpf="clr-namespace:InABox.Wpf;assembly=InABox.Wpf"
  8. mc:Ignorable="d"
  9. Title="Manufacturing Templates" Height="800" Width="1000" WindowStartupLocation="CenterScreen">
  10. <Grid Margin="5">
  11. <Grid.ColumnDefinitions>
  12. <ColumnDefinition Width="*" />
  13. <ColumnDefinition Width="400" />
  14. </Grid.ColumnDefinitions>
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="30" />
  17. <RowDefinition Height="*" />
  18. <RowDefinition Height="30" />
  19. <RowDefinition Height="*" />
  20. <RowDefinition Height="40" />
  21. </Grid.RowDefinitions>
  22. <Label Content="Available Templates" Grid.Row="0" Grid.Column="0" />
  23. <local:SetoutTemplateList Grid.Column="0" Grid.Row="1" Grid.RowSpan="3" x:Name="Templates" Margin="5,0,0,0"
  24. TemplateSelected="Templates_TemplateSelected" />
  25. <Label Content="Manufacturing Stages" Grid.Row="0" Grid.Column="1" />
  26. <local:SetoutStagesPanel Grid.Column="1" Grid.Row="1" x:Name="Stages" />
  27. <Label Content="Item Attributes" Grid.Row="2" Grid.Column="1" />
  28. <!--<local:FactoryTemplateAttributesGrid x:Name="Attributes" Grid.Column="1" Grid.Row="3" Margin="5,5,0,0"/>-->
  29. <Button x:Name="ExportButton" Grid.Column="0" Grid.Row="4" Content="Export" HorizontalAlignment="Left"
  30. Width="75" Margin="0,5,0,0" Click="ExportButton_Click" />
  31. <StackPanel Grid.Column="1" Grid.Row="4" HorizontalAlignment="Right" Orientation="Horizontal">
  32. <Button x:Name="OKButton" Content="OK" HorizontalAlignment="Right" Width="75" Margin="0,5,0,0"
  33. Click="OKButton_Click" />
  34. <Button x:Name="CancelButton" Content="Cancel" HorizontalAlignment="Right" Width="75" Margin="5,5,0,0"
  35. Click="CancelButton_Click" />
  36. </StackPanel>
  37. </Grid>
  38. </wpf:ThemableWindow>