MainWindow.xaml 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <Window x:Class="ROGOZ.MainWindow"
  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:ROGOZ"
  7. mc:Ignorable="d"
  8. AllowsTransparency="True"
  9. Background="Transparent"
  10. WindowStyle="None"
  11. WindowStartupLocation="CenterScreen"
  12. Title="𝖊𝖘𝖔𝖋𝖙" Height="680" Width="1100"
  13. ResizeMode="NoResize"
  14. MouseDown="Window_MouseDown">
  15. <Grid>
  16. <!--<Grid.RowDefinitions>
  17. <RowDefinition Height="75"/>
  18. <RowDefinition Height="69*"/>
  19. <RowDefinition Height="30"/>
  20. </Grid.RowDefinitions>
  21. <Grid Grid.Row="0" Grid.ColumnSpan="3" Background="#b3deff"/>
  22. <Grid Grid.Row="2" Grid.ColumnSpan="3" Background="#b3deff"/>
  23. <Image Source="Resources/logo.png" HorizontalAlignment="Left" Margin="15,0"/>
  24. <TextBlock Text="HEADER" Grid.Column="1" Style="{StaticResource BlockHeader}"/>
  25. <Frame Name="MainFrame" NavigationUIVisibility="Hidden" Grid.Row="1" Grid.ColumnSpan="3"/>
  26. <Grid.ColumnDefinitions>
  27. <ColumnDefinition/>
  28. <ColumnDefinition/>
  29. <ColumnDefinition/>
  30. </Grid.ColumnDefinitions>-->
  31. <Border Background="#e6f4ff" CornerRadius="20"/>
  32. <Grid>
  33. <Grid.ColumnDefinitions>
  34. <ColumnDefinition Width="280"/>
  35. <ColumnDefinition Width="*"/>
  36. </Grid.ColumnDefinitions>
  37. <Grid.RowDefinitions>
  38. <RowDefinition Height="50"/>
  39. <RowDefinition Height="*"/>
  40. </Grid.RowDefinitions>
  41. <Frame Name="MainFrame" NavigationUIVisibility="Hidden" Grid.Column="1" Grid.Row="1"/>
  42. </Grid>
  43. <!--Панель навигации-->
  44. <Grid HorizontalAlignment="Left" Width="280">
  45. <Border Background="#4285B4" CornerRadius="20,0,0,20"/>
  46. <Image Source="/Resources/logo.png" VerticalAlignment="Top" Margin="30,15"/>
  47. <StackPanel Width="280" Height="400" Margin="0,20,0,0">
  48. <Button Name="General" Style="{DynamicResource NaviButtons}">
  49. <Grid Width="280">
  50. <Image Source="/Resources/GeneralHome.png" Style="{StaticResource ImageStyle}"/>
  51. <TextBlock Text="Главная" Style="{StaticResource Text_Style}"/>
  52. </Grid>
  53. </Button>
  54. <Separator Height="20" Background="Transparent"/>
  55. <Button Name="TaskList" Style="{DynamicResource NaviButtons}">
  56. <Grid Width="280">
  57. <TextBlock Text="Задачи" Style="{StaticResource Text_Style}"/>
  58. <Image Source="/Resources/Список задач.png" Style="{StaticResource ImageStyle}"/>
  59. </Grid>
  60. </Button>
  61. <Separator Height="20" Background="Transparent"/>
  62. <Button Name="ExecutorList" Style="{DynamicResource NaviButtons}">
  63. <Grid Width="280">
  64. <TextBlock Text="Исполнители" Style="{StaticResource Text_Style}"/>
  65. <Image Source="/Resources/EMPLOYEE.png" Style="{StaticResource ImageStyle}"/>
  66. </Grid>
  67. </Button>
  68. <Separator Height="20" Background="Transparent"/>
  69. <Button Name="Help" Style="{DynamicResource NaviButtons}">
  70. <Grid Width="280">
  71. <TextBlock Text="Помощь" Style="{StaticResource Text_Style}"/>
  72. <Image Source="/Resources/HELPES.png" Style="{StaticResource ImageStyle}"/>
  73. </Grid>
  74. </Button>
  75. </StackPanel>
  76. <StackPanel VerticalAlignment="Bottom" Height="3" Width="225" Margin="0,0,0,100" Background="#002F55"/>
  77. <Button Name="AccExit" Style="{DynamicResource NaviButtons}" VerticalAlignment="Bottom" Margin="0,0,0,15">
  78. <Grid Width="280">
  79. <TextBlock Text="Выход" Style="{StaticResource Text_Style}"/>
  80. <Image Source="/Resources/AccExit.png" Style="{StaticResource ImageStyle}"/>
  81. </Grid>
  82. </Button>
  83. </Grid>
  84. </Grid>
  85. </Window>