PresetGroupSaveDialog.xaml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <Window x:Class="MECF.Framework.UI.Client.ClientViews.Dialogs.PresetGroupSaveDialog"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. mc:Ignorable="d"
  7. d:Height="200" d:Width="400"
  8. WindowStyle="None"
  9. WindowStartupLocation="CenterScreen"
  10. ResizeMode="NoResize"
  11. AllowsTransparency="True"
  12. Background="Transparent">
  13. <Grid Height="140" Width="330">
  14. <Grid.Effect>
  15. <DropShadowEffect BlurRadius="40" ShadowDepth="10" Opacity="0.7" />
  16. </Grid.Effect>
  17. <Border
  18. Background="{DynamicResource Tab_BG}"
  19. BorderBrush="Gray"
  20. BorderThickness="3">
  21. <Grid Margin="5">
  22. <Grid.RowDefinitions>
  23. <RowDefinition Height="70"/>
  24. <RowDefinition Height="auto" />
  25. </Grid.RowDefinitions>
  26. <Border
  27. Background="{DynamicResource Table_BG_Content_Highlight}"
  28. BorderBrush="{DynamicResource Table_BD}"
  29. BorderThickness="1">
  30. <Canvas>
  31. <TextBlock
  32. Canvas.Left="10"
  33. Canvas.Top="22"
  34. FontFamily="Arial"
  35. FontSize="12"
  36. Foreground="{DynamicResource FG_Black}"
  37. Text="Group Name" />
  38. <TextBox
  39. x:Name="txtGroupName"
  40. Canvas.Left="100"
  41. Canvas.Top="16"
  42. Width="200"
  43. Height="28"
  44. MaxLength="30" />
  45. <TextBlock
  46. x:Name="txtErrors"
  47. Canvas.Left="100"
  48. Canvas.Top="47"
  49. Text="" Foreground="Red"/>
  50. </Canvas>
  51. </Border>
  52. <StackPanel
  53. Grid.Row="1"
  54. Margin="0 10 0 0"
  55. VerticalAlignment="Center"
  56. HorizontalAlignment="Center"
  57. Orientation="Horizontal">
  58. <Button x:Name="btnOk"
  59. Width="90"
  60. Height="30"
  61. Content="OK"
  62. Click="BtnOk_OnClick">
  63. </Button>
  64. <Button x:Name="btnCancel"
  65. Width="90"
  66. Height="30"
  67. Margin="10,0,0,0"
  68. Content="Cancel"
  69. Click="BtnCancel_OnClick">
  70. </Button>
  71. </StackPanel>
  72. </Grid>
  73. </Border>
  74. </Grid>
  75. </Window>