123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <Window x:Class="Esoft.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:Esoft"
- mc:Ignorable="d"
- AllowsTransparency="True"
- Background="Transparent"
- WindowStyle="None"
- WindowStartupLocation="CenterScreen"
- Height="680" Width="1100"
- ResizeMode="NoResize"
- MouseDown="Window_MouseDown">
- <Grid>
- <Border Background="#e6f4ff" CornerRadius="20"/>
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="280"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="50"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Button x:Name="btnClose" Style="{DynamicResource PanelButtonX}" Margin="0,10,10,0" Grid.Row="0" Grid.Column="1" Height="35" Width="35" Click="btnClose_Click">
- </Button>
- <Button x:Name="btnMinimize" Style="{DynamicResource PanelButtonMin}" Margin="0,10,55,0" Grid.Row="0" Grid.Column="1" Height="35" Width="35" Click="btnMinimize_Click">
- </Button>
- <Frame Name="MainFrame" NavigationUIVisibility="Hidden" Grid.Column="1" Grid.Row="1"/>
- </Grid>
- <!--Панель навигации-->
- <Grid HorizontalAlignment="Left" Width="280">
- <Border Background="#4285B4" CornerRadius="20,0,0,20" HorizontalAlignment="Left" Width="304"/>
- <Image Source="/Resources/logo.png" VerticalAlignment="Top" Margin="30,15"/>
- <StackPanel Width="280" Height="400" Margin="0,20,0,0">
- <Button Name="General" Style="{DynamicResource NaviButtons}" Click="General_Click">
- <Grid Width="280">
- <Image Source="/Resources/GeneralHome.png" Style="{StaticResource ImageStyle}"/>
- <TextBlock Text="Главная" Style="{StaticResource Text_Style}" FontFamily="Arial Black" Margin="60,0,0,0"/>
- </Grid>
- </Button>
- <Separator Height="3" Background="Transparent" RenderTransformOrigin="0.5,0.5">
- <Separator.RenderTransform>
- <TransformGroup>
- <ScaleTransform ScaleY="-1"/>
- <SkewTransform/>
- <RotateTransform/>
- <TranslateTransform/>
- </TransformGroup>
- </Separator.RenderTransform>
- </Separator>
- <Button Name="TaskList" Style="{DynamicResource NaviButtons}" Click="TaskList_Click">
- <Grid Width="280">
- <TextBlock Text="Задачи" Style="{StaticResource Text_Style}" FontFamily="Arial Black"/>
- <Image Source="/Resources/TaskList.png" Style="{StaticResource ImageStyle}"/>
- </Grid>
- </Button>
- <Separator Height="3" Background="Transparent" RenderTransformOrigin="0.5,0.5">
- <Separator.RenderTransform>
- <TransformGroup>
- <ScaleTransform ScaleY="-1"/>
- <SkewTransform/>
- <RotateTransform/>
- <TranslateTransform/>
- </TransformGroup>
- </Separator.RenderTransform>
- </Separator>
- <Button Name="ExecutorList" Style="{DynamicResource NaviButtons}" Click="ExecutorList_Click">
- <Grid Width="280">
- <TextBlock Text="Исполнители" Style="{StaticResource Text_Style}" FontFamily="Arial Black"/>
- <Image Source="/Resources/EmployeeList.png" Style="{StaticResource ImageStyle}"/>
- </Grid>
- </Button>
- <Separator Height="5" Background="Transparent" RenderTransformOrigin="0.5,0.5">
- <Separator.RenderTransform>
- <TransformGroup>
- <ScaleTransform ScaleY="-1"/>
- <SkewTransform/>
- <RotateTransform/>
- <TranslateTransform/>
- </TransformGroup>
- </Separator.RenderTransform>
- </Separator>
- <Button Name="Chart" Style="{DynamicResource NaviButtons}" Click="Chart_Click">
- <Grid Width="280">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="13*"/>
- <ColumnDefinition Width="27*"/>
- </Grid.ColumnDefinitions>
- <TextBlock Text="Графики" Style="{StaticResource Text_Style}" FontFamily="Arial Black" Grid.ColumnSpan="2" Margin="60,0,0,0"/>
- <Image Source="/Resources/Chart.png" Style="{StaticResource ImageStyle}"/>
- </Grid>
- </Button>
- <Separator Height="1" Background="Transparent" RenderTransformOrigin="0.5,0.5">
- <Separator.RenderTransform>
- <TransformGroup>
- <ScaleTransform ScaleY="-1"/>
- <SkewTransform/>
- <RotateTransform/>
- <TranslateTransform/>
- </TransformGroup>
- </Separator.RenderTransform>
- </Separator>
- </StackPanel>
- <StackPanel VerticalAlignment="Bottom" Height="3" Width="250" Margin="0,0,0,100" Background="#2e5d85"/>
- <Button Name="AccExit" Style="{DynamicResource NaviButtons}" VerticalAlignment="Bottom" Margin="0,0,0,15" Click="AccExit_Click">
- <Grid Width="280">
- <TextBlock Text="Выход" Style="{StaticResource Text_Style}" FontFamily="Arial Black"/>
- <Image Source="/Resources/AccExit.png" Style="{StaticResource ImageStyle}"/>
- </Grid>
- </Button>
- </Grid>
- </Grid>
- </Window>
|