GenerateStickers.xaml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <wpf:ThemableWindow x:Class="PRSDesktop.Forms.GenerateStickers"
  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.Forms"
  7. xmlns:wpf="clr-namespace:InABox.Wpf;assembly=InABox.Wpf"
  8. xmlns:sf="http://schemas.syncfusion.com/wpf"
  9. mc:Ignorable="d"
  10. Title="GenerateStickers" SizeToContent="Height" Width="400">
  11. <Grid>
  12. <Grid.RowDefinitions>
  13. <RowDefinition Height="30"/>
  14. <RowDefinition Height="30"/>
  15. <RowDefinition Height="40"/>
  16. </Grid.RowDefinitions>
  17. <Grid.ColumnDefinitions>
  18. <ColumnDefinition Width="Auto"/>
  19. <ColumnDefinition Width="*"/>
  20. </Grid.ColumnDefinitions>
  21. <Label Grid.Row="0"
  22. Grid.Column="0"
  23. Margin="0,0,0,0"
  24. HorizontalContentAlignment="Right"
  25. VerticalContentAlignment="Center">Number of Stickers</Label>
  26. <sf:IntegerTextBox x:Name="NumberOfStickers"
  27. Grid.Row="0"
  28. Grid.Column="1"
  29. Margin="5,2.5,5,2.5"
  30. Background="LightYellow"
  31. VerticalAlignment="Stretch" VerticalContentAlignment="Center"
  32. HorizontalAlignment="Stretch" HorizontalContentAlignment="Left"></sf:IntegerTextBox>
  33. <Label Grid.Row="1"
  34. Grid.Column="0"
  35. Margin="0,0,0,0"
  36. HorizontalContentAlignment="Right"
  37. VerticalContentAlignment="Center">Code Prefix</Label>
  38. <TextBox x:Name="CodePrefix"
  39. Grid.Row="1"
  40. Grid.Column="1"
  41. Margin="5,2.5,5,2.5"
  42. VerticalAlignment="Stretch"
  43. VerticalContentAlignment="Center" HorizontalContentAlignment="Stretch"></TextBox>
  44. <DockPanel Grid.Row="2"
  45. Grid.Column="0" Grid.ColumnSpan="2">
  46. <Button DockPanel.Dock="Right"
  47. Width="80" Margin="0,5,5,5"
  48. Click="Cancel_Click">Cancel</Button>
  49. <Button DockPanel.Dock="Right"
  50. Width="80" Margin="0,5,5,5"
  51. Click="OK_Click">OK</Button>
  52. <Label></Label>
  53. </DockPanel>
  54. </Grid>
  55. </wpf:ThemableWindow>