wWorkerMain.xaml 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. <Page x:Class="teaTime.wWorkerMain"
  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. xmlns:local="clr-namespace:teaTime"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="wWorkerMain">
  10. <Page.Resources>
  11. <Style x:Key="FocusVisual">
  12. <Setter Property="Control.Template">
  13. <Setter.Value>
  14. <ControlTemplate>
  15. <Rectangle Margin="2" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2"/>
  16. </ControlTemplate>
  17. </Setter.Value>
  18. </Setter>
  19. </Style>
  20. <SolidColorBrush x:Key="Button.Static.Background" Color="#E8ECC8"/>
  21. <SolidColorBrush x:Key="Button.Static.Border" Color="#E8ECC8"/>
  22. <SolidColorBrush x:Key="Button.MouseOver.Background" Color="#E8ECC8"/>
  23. <SolidColorBrush x:Key="Button.MouseOver.Border" Color="#E8ECC8"/>
  24. <SolidColorBrush x:Key="Button.Pressed.Background" Color="#E8ECC8"/>
  25. <SolidColorBrush x:Key="Button.Pressed.Border" Color="#E8ECC8"/>
  26. <SolidColorBrush x:Key="Button.Disabled.Background" Color="#E8ECC8"/>
  27. <SolidColorBrush x:Key="Button.Disabled.Border" Color="#E8ECC8"/>
  28. <SolidColorBrush x:Key="Button.Disabled.Foreground" Color="#E8ECC8"/>
  29. <Style x:Key="RoundedButtonStyle" TargetType="{x:Type Button}">
  30. <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
  31. <Setter Property="Background" Value="{StaticResource Button.Static.Background}"/>
  32. <Setter Property="BorderBrush" Value="{StaticResource Button.Static.Border}"/>
  33. <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
  34. <Setter Property="BorderThickness" Value="0"/>
  35. <Setter Property="HorizontalContentAlignment" Value="Center"/>
  36. <Setter Property="VerticalContentAlignment" Value="Center"/>
  37. <Setter Property="Padding" Value="1"/>
  38. <Setter Property="Template">
  39. <Setter.Value>
  40. <ControlTemplate TargetType="{x:Type Button}">
  41. <Border x:Name="border" CornerRadius="10" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
  42. <ContentPresenter x:Name="contentPresenter" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
  43. </Border>
  44. <ControlTemplate.Triggers>
  45. <Trigger Property="IsDefaulted" Value="true">
  46. <Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"/>
  47. </Trigger>
  48. <Trigger Property="IsMouseOver" Value="true">
  49. <Setter Property="Background" TargetName="border" Value="#E8ECC8"/>
  50. <Setter Property="BorderBrush" TargetName="border" Value="#E8ECC8"/>
  51. </Trigger>
  52. <Trigger Property="IsPressed" Value="true">
  53. <Setter Property="Background" TargetName="border" Value="#E8ECC8"/>
  54. <Setter Property="BorderBrush" TargetName="border" Value="#E8ECC8"/>
  55. </Trigger>
  56. <Trigger Property="IsEnabled" Value="false">
  57. <Setter Property="Background" TargetName="border" Value="{StaticResource Button.Disabled.Background}"/>
  58. <Setter Property="BorderBrush" TargetName="border" Value="{StaticResource Button.Disabled.Border}"/>
  59. <Setter Property="TextElement.Foreground" TargetName="contentPresenter" Value="{StaticResource Button.Disabled.Foreground}"/>
  60. </Trigger>
  61. </ControlTemplate.Triggers>
  62. </ControlTemplate>
  63. </Setter.Value>
  64. </Setter>
  65. </Style>
  66. <ControlTemplate x:Key="MenuMainItem" TargetType="{x:Type MenuItem}">
  67. <Border x:Name="templateRoot" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True">
  68. <Grid VerticalAlignment="Center">
  69. <Grid.ColumnDefinitions>
  70. <ColumnDefinition Width="Auto"/>
  71. <ColumnDefinition Width="Auto"/>
  72. </Grid.ColumnDefinitions>
  73. <ContentPresenter x:Name="Icon" Content="{TemplateBinding Icon}" ContentSource="Icon" HorizontalAlignment="Center" Height="16" Margin="3" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="Center" Width="16"/>
  74. <Path x:Name="GlyphPanel" Data="F1M10,1.2L4.7,9.1 4.5,9.1 0,5.2 1.3,3.5 4.3,6.1 8.3,0 10,1.2z" Fill="{TemplateBinding Foreground}" FlowDirection="LeftToRight" Margin="3" Visibility="Collapsed" VerticalAlignment="Center"/>
  75. <ContentPresenter ContentTemplate="{TemplateBinding HeaderTemplate}" Content="{TemplateBinding Header}" Grid.Column="1" ContentStringFormat="{TemplateBinding HeaderStringFormat}" ContentSource="Header" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
  76. <Popup x:Name="PART_Popup" AllowsTransparency="True" Focusable="False" IsOpen="{Binding IsSubmenuOpen, RelativeSource={RelativeSource TemplatedParent}}" PopupAnimation="{DynamicResource {x:Static SystemParameters.MenuPopupAnimationKey}}" Placement="Bottom">
  77. <Border x:Name="SubMenuBorder" BorderBrush="{StaticResource Button.Disabled.Background}" BorderThickness="1" Background="{StaticResource Button.Disabled.Background}" Padding="2">
  78. <ScrollViewer x:Name="SubMenuScrollViewer" Style="{DynamicResource {ComponentResourceKey ResourceId=MenuScrollViewer, TypeInTargetAssembly={x:Type FrameworkElement}}}">
  79. <Grid RenderOptions.ClearTypeHint="Enabled">
  80. <Canvas HorizontalAlignment="Left" Height="0" VerticalAlignment="Top" Width="0">
  81. <Rectangle x:Name="OpaqueRect" Fill="{Binding Background, ElementName=SubMenuBorder}" Height="{Binding ActualHeight, ElementName=SubMenuBorder}" Width="{Binding ActualWidth, ElementName=SubMenuBorder}"/>
  82. </Canvas>
  83. <Rectangle Fill="{StaticResource Button.Disabled.Background}" HorizontalAlignment="Left" Margin="29,2,0,2" Width="1"/>
  84. <ItemsPresenter x:Name="ItemsPresenter" KeyboardNavigation.DirectionalNavigation="Cycle" Grid.IsSharedSizeScope="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" KeyboardNavigation.TabNavigation="Cycle"/>
  85. </Grid>
  86. </ScrollViewer>
  87. </Border>
  88. </Popup>
  89. </Grid>
  90. </Border>
  91. <ControlTemplate.Triggers>
  92. <Trigger Property="IsSuspendingPopupAnimation" Value="True">
  93. <Setter Property="PopupAnimation" TargetName="PART_Popup" Value="None"/>
  94. </Trigger>
  95. <Trigger Property="Icon" Value="{x:Null}">
  96. <Setter Property="Visibility" TargetName="Icon" Value="Collapsed"/>
  97. </Trigger>
  98. <Trigger Property="IsChecked" Value="True">
  99. <Setter Property="Visibility" TargetName="GlyphPanel" Value="Visible"/>
  100. <Setter Property="Visibility" TargetName="Icon" Value="Collapsed"/>
  101. </Trigger>
  102. <Trigger Property="IsHighlighted" Value="True">
  103. <Setter Property="Background" TargetName="templateRoot" Value="{StaticResource Button.Disabled.Background}"/>
  104. <Setter Property="BorderBrush" TargetName="templateRoot" Value="#D3DB94"/>
  105. </Trigger>
  106. </ControlTemplate.Triggers>
  107. </ControlTemplate>
  108. </Page.Resources>
  109. <Viewbox Stretch="Uniform" Grid.RowSpan="2">
  110. <Border Width="800" Height="450">
  111. <Grid>
  112. <Grid VerticalAlignment="Top">
  113. <Menu Height="30" Width="Auto" VerticalAlignment="Center" Background="#FAEDCD" FontSize="20" FontFamily="{StaticResource GogoiaDeco}" Foreground="#A77748">
  114. <Menu.Resources>
  115. </Menu.Resources>
  116. <MenuItem x:Name="btMain" Header="Главная" Height="30" Width="70" Background="#D3DB94" Template="{DynamicResource MenuMainItem}"></MenuItem>
  117. <MenuItem Header="" IsEnabled="False" Width="524"></MenuItem>
  118. <MenuItem x:Name="btUser" Click="bUserProfile_Click" HorizontalContentAlignment="Center" HorizontalAlignment="Right" Width="205.5" Template="{DynamicResource MenuMainItem}">
  119. <MenuItem.Header>
  120. <StackPanel Orientation="Horizontal">
  121. <TextBlock x:Name="aFio" Text="Фамилия имя отчество" VerticalAlignment="Center"/>
  122. <Image x:Name="aImage" Width="25" Height="25" HorizontalAlignment="Right" Margin="10 0 10 0"/>
  123. </StackPanel>
  124. </MenuItem.Header>
  125. </MenuItem>
  126. </Menu>
  127. </Grid>
  128. <Grid Height="250" Width="250" Margin="431,100,119,100">
  129. <Rectangle RadiusX="10" RadiusY="10" StrokeThickness="2" Fill="#FAEDCD" />
  130. <TextBlock Text="Мероприятие" FontFamily="{StaticResource GogoiaDeco}" FontSize="20" HorizontalAlignment="Center" FontWeight="Bold" Margin="0 5 0 0" Foreground="#A77748"/>
  131. <TextBlock x:Name="aData" Text="25/25/55 15^15" FontFamily="{StaticResource GogoiaDeco}" FontSize="15" HorizontalAlignment="Center" Margin="0,29,0,-24" Foreground="#A77748"/>
  132. <TextBlock x:Name="aName0" Text="Название:" FontFamily="{StaticResource GogoiaDeco}" FontSize="15" HorizontalAlignment="Left" Margin="10,54,0,-14" Foreground="#A77748"/>
  133. <TextBlock x:Name="aName" Text="" FontFamily="{StaticResource UniNeue-Regular}" FontSize="10" HorizontalAlignment="Left" Margin="75,54,0,166" Foreground="#A77748" Height="30" Width="150" TextWrapping="Wrap" TextTrimming="CharacterEllipsis"/>
  134. <TextBlock x:Name="aTheme0" Text="Тема:" FontFamily="{StaticResource GogoiaDeco}" FontSize="15" HorizontalAlignment="Left" Margin="11,90,0,-20" Foreground="#A77748"/>
  135. <TextBlock x:Name="aTheme" Text="" FontFamily="{StaticResource UniNeue-Regular}" FontSize="10" HorizontalAlignment="Left" Margin="75,95,0,125" Foreground="#A77748" Height="30" Width="150" TextWrapping="Wrap" TextTrimming="CharacterEllipsis"/>
  136. <TextBlock x:Name="aDescript0" Text="Описание:" FontFamily="{StaticResource GogoiaDeco}" FontSize="15" HorizontalAlignment="Left" Margin="10,138,0,-38" Foreground="#A77748"/>
  137. <TextBlock x:Name="aDescript" Text="" FontFamily="{StaticResource UniNeue-Regular}" FontSize="10" HorizontalAlignment="Left" Margin="75 125 0 0" Foreground="#A77748" Height="100" Width="150" TextWrapping="Wrap" TextTrimming="CharacterEllipsis"/>
  138. <TextBlock x:Name="aNoEvent" Text="Мероприятий на этот день не заплпнировано" Width="200" FontFamily="{StaticResource GogoiaDeco}" FontSize="25" HorizontalAlignment="Center" TextAlignment="Center" Margin="0,84,0,-78" Foreground="#A77748" TextWrapping="Wrap"/>
  139. </Grid>
  140. <Grid>
  141. <Rectangle RadiusX="10" RadiusY="10" StrokeThickness="2" Fill="#FAEDCD" Height="250" Width="250" Margin="104,100,446,100"/>
  142. <Viewbox Width="220" Height="190" Margin="120,0,0,0" HorizontalAlignment="Left">
  143. <Grid ShowGridLines="false" Background="#FAEDCD">
  144. <Grid.Resources>
  145. <Style TargetType="{x:Type ColumnDefinition}">
  146. <Setter Property="Width" Value="30"/>
  147. </Style>
  148. <Style x:Key="DayOfWeek">
  149. <Setter Property="Grid.Row" Value="1"></Setter>
  150. <Setter Property="TextBlock.Margin" Value="5"></Setter>
  151. </Style>
  152. <Style x:Key="OneDate">
  153. <Setter Property="TextBlock.Margin" Value="5"></Setter>
  154. </Style>
  155. </Grid.Resources>
  156. <Grid.ColumnDefinitions>
  157. <ColumnDefinition/>
  158. <ColumnDefinition/>
  159. <ColumnDefinition/>
  160. <ColumnDefinition/>
  161. <ColumnDefinition/>
  162. <ColumnDefinition/>
  163. <ColumnDefinition/>
  164. <ColumnDefinition Width="*"/>
  165. </Grid.ColumnDefinitions>
  166. <Grid.RowDefinitions>
  167. <RowDefinition Height="Auto"/>
  168. <RowDefinition Height="Auto"/>
  169. <RowDefinition Height="Auto"/>
  170. <RowDefinition Height="Auto"/>
  171. <RowDefinition Height="Auto"/>
  172. <RowDefinition Height="Auto"/>
  173. <RowDefinition Height="Auto"/>
  174. <RowDefinition/>
  175. </Grid.RowDefinitions>
  176. <Rectangle Grid.Column="1" Grid.Row="1" Grid.ColumnSpan="5" Grid.RowSpan="6" Fill="#FAEDCD"/>
  177. <Rectangle Grid.Column="0" Grid.ColumnSpan="7" Grid.Row="0" Grid.RowSpan="1" Fill="#D3DB94"/>
  178. <Rectangle Grid.Row="0" Grid.ColumnSpan="7" Fill="#A77748" RadiusX="1" RadiusY="1" Height="2" Margin="0,25,0,0"/>
  179. <TextBlock Grid.ColumnSpan="7" Grid.Row="1" Text=" " HorizontalAlignment="Center" />
  180. <TextBlock Grid.Column="0" Grid.Row="0" Style="{StaticResource DayOfWeek}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748">ПН</TextBlock>
  181. <TextBlock Grid.Column="1" Grid.Row="0" Style="{StaticResource DayOfWeek}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748">ВТ</TextBlock>
  182. <TextBlock Grid.Column="2" Grid.Row="0" Style="{StaticResource DayOfWeek}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748">СР</TextBlock>
  183. <TextBlock Grid.Column="3" Grid.Row="0" Style="{StaticResource DayOfWeek}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748">ЧТ</TextBlock>
  184. <TextBlock Grid.Column="4" Grid.Row="0" Style="{StaticResource DayOfWeek}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748">ПТ</TextBlock>
  185. <TextBlock Grid.Column="5" Grid.Row="0" Style="{StaticResource DayOfWeek}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748">СБ</TextBlock>
  186. <TextBlock Grid.Column="6" Grid.Row="0" Style="{StaticResource DayOfWeek}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748">ВС</TextBlock>
  187. <Button Height="25" Width="25" Grid.Column="0" Grid.Row="1" x:Name="b01" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  188. <Button Height="25" Width="25" Grid.Column="1" Grid.Row="1" x:Name="b02" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  189. <Button Height="25" Width="25" Grid.Column="2" Grid.Row="1" x:Name="b03" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  190. <Button Height="25" Width="25" Grid.Column="3" Grid.Row="1" x:Name="b04" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  191. <Button Height="25" Width="25" Grid.Column="4" Grid.Row="1" x:Name="b05" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  192. <Button Height="25" Width="25" Grid.Column="5" Grid.Row="1" x:Name="b06" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  193. <Button Height="25" Width="25" Grid.Column="6" Grid.Row="1" x:Name="b07" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  194. <Button Height="25" Width="25" Grid.Column="0" Grid.Row="2" x:Name="b11" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  195. <Button Height="25" Width="25" Grid.Column="1" Grid.Row="2" x:Name="b12" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  196. <Button Height="25" Width="25" Grid.Column="2" Grid.Row="2" x:Name="b13" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  197. <Button Height="25" Width="25" Grid.Column="3" Grid.Row="2" x:Name="b14" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  198. <Button Height="25" Width="25" Grid.Column="4" Grid.Row="2" x:Name="b15" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  199. <Button Height="25" Width="25" Grid.Column="5" Grid.Row="2" x:Name="b16" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  200. <Button Height="25" Width="25" Grid.Column="6" Grid.Row="2" x:Name="b17" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  201. <Button Height="25" Width="25" Grid.Column="0" Grid.Row="3" x:Name="b21" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  202. <Button Height="25" Width="25" Grid.Column="1" Grid.Row="3" x:Name="b22" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  203. <Button Height="25" Width="25" Grid.Column="2" Grid.Row="3" x:Name="b23" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  204. <Button Height="25" Width="25" Grid.Column="3" Grid.Row="3" x:Name="b24" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  205. <Button Height="25" Width="25" Grid.Column="4" Grid.Row="3" x:Name="b25" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  206. <Button Height="25" Width="25" Grid.Column="5" Grid.Row="3" x:Name="b26" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  207. <Button Height="25" Width="25" Grid.Column="6" Grid.Row="3" x:Name="b27" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  208. <Button Height="25" Width="25" Grid.Column="0" Grid.Row="4" x:Name="b31" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  209. <Button Height="25" Width="25" Grid.Column="1" Grid.Row="4" x:Name="b32" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  210. <Button Height="25" Width="25" Grid.Column="2" Grid.Row="4" x:Name="b33" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  211. <Button Height="25" Width="25" Grid.Column="3" Grid.Row="4" x:Name="b34" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  212. <Button Height="25" Width="25" Grid.Column="4" Grid.Row="4" x:Name="b35" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  213. <Button Height="25" Width="25" Grid.Column="5" Grid.Row="4" x:Name="b36" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  214. <Button Height="25" Width="25" Grid.Column="6" Grid.Row="4" x:Name="b37" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  215. <Button Height="25" Width="25" Grid.Column="0" Grid.Row="5" x:Name="b41" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  216. <Button Height="25" Width="25" Grid.Column="1" Grid.Row="5" x:Name="b42" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  217. <Button Height="25" Width="25" Grid.Column="2" Grid.Row="5" x:Name="b43" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  218. <Button Height="25" Width="25" Grid.Column="3" Grid.Row="5" x:Name="b44" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  219. <Button Height="25" Width="25" Grid.Column="4" Grid.Row="5" x:Name="b45" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  220. <Button Height="25" Width="25" Grid.Column="5" Grid.Row="5" x:Name="b46" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  221. <Button Height="25" Width="25" Grid.Column="6" Grid.Row="5" x:Name="b47" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  222. <Button Height="25" Width="25" Grid.Column="0" Grid.Row="6" x:Name="b51" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  223. <Button Height="25" Width="25" Grid.Column="1" Grid.Row="6" x:Name="b52" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  224. <Button Height="25" Width="25" Grid.Column="2" Grid.Row="6" x:Name="b53" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  225. <Button Height="25" Width="25" Grid.Column="3" Grid.Row="6" x:Name="b54" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  226. <Button Height="25" Width="25" Grid.Column="4" Grid.Row="6" x:Name="b55" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  227. <Button Height="25" Width="25" Grid.Column="5" Grid.Row="6" x:Name="b56" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  228. <Button Height="25" Width="25" Grid.Column="6" Grid.Row="6" x:Name="b57" Click="b_Click" Background="#FAEDCD" BorderThickness="0" Style="{DynamicResource RoundedButtonStyle}" FontFamily="{StaticResource UniNeue-Bold}" FontSize="12" Foreground="#A77748" HorizontalContentAlignment="Center" Content = ""/>
  229. </Grid>
  230. </Viewbox>
  231. <Button x:Name="bRight" Width="60" Height="45" Margin="294,365,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Click="bRight_Click" Content="> > >" FontFamily="{StaticResource GogoiaDeco}" FontSize="25" Foreground="#A77748" Style="{DynamicResource RoundedButtonStyle}" Background="#FAEDCD"/>
  232. <Button x:Name="bLeft" Width="60" Height="45" Margin="164,365,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Click="bLeft_Click" Content="> > >" FontFamily="{StaticResource GogoiaDeco}" FontSize="25" Foreground="#A77748" Style="{DynamicResource RoundedButtonStyle}" Background="#FAEDCD">
  233. <Button.RenderTransform>
  234. <ScaleTransform ScaleX="-1"/>
  235. </Button.RenderTransform>
  236. </Button>
  237. <TextBlock x:Name="aMonth" Text="" Margin="105,109,0,314" HorizontalAlignment="Left" FontFamily="{StaticResource GogoiaDeco}" TextAlignment="Center" Foreground="#A77748" FontWeight="Bold" FontSize="20" Width="250"/>
  238. </Grid>
  239. <Button x:Name="bRead" Width="140" Height="45" Margin="0,366,170,0" HorizontalAlignment="Right" VerticalAlignment="Top" Click="bRead_Click" Content="Просмотреть" FontFamily="{StaticResource GogoiaDeco}" FontSize="25" Foreground="#A77748" Style="{DynamicResource RoundedButtonStyle}" Background="#FAEDCD"/>
  240. <Button x:Name="bWrite" Width="140" Height="45" Margin="0,366,170,0" HorizontalAlignment="Right" VerticalAlignment="Top" Click="bwrite_Click" Content="Создать" FontFamily="{StaticResource GogoiaDeco}" FontSize="25" Foreground="#A77748" Style="{DynamicResource RoundedButtonStyle}" Background="#FAEDCD"/>
  241. </Grid>
  242. </Border>
  243. </Viewbox>
  244. </Page>