12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <Window x:Class="MyTests.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:MyTests"
- mc:Ignorable="d"
- WindowStartupLocation="CenterScreen"
- WindowStyle="None"
- ResizeMode="NoResize"
- Height="450"
- Width="800">
- <Grid Background="{StaticResource color1}">
- <Grid.RowDefinitions>
- <RowDefinition Height="25"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Border Background="#252525"
- MouseDown="Border_MouseDown"
- Grid.Row="0">
- <Grid HorizontalAlignment="Stretch">
- <Label Content="PartsWarehouse"
- Foreground="Gray"
- FontWeight="SemiBold"/>
- <StackPanel HorizontalAlignment="Right"
- Orientation="Horizontal">
- <Button Width="20"
- Height="20"
- Content="—"
- Background="Transparent"
- BorderThickness="0"
- Foreground="Gray"
- FontWeight="Bold"
- Click="ButtonMininize_Click"/>
- <Button Visibility="Collapsed"
- Width="20" Height="20"
- Content="☐"
- Background="Transparent"
- BorderThickness="0"
- Foreground="Gray"
- FontWeight="Bold"
- Click="WindowStateButton_Click"/>
- <Button Width="20" Height="20"
- Content="X"
- Background="Transparent"
- BorderThickness="0"
- Foreground="Gray"
- FontWeight="Bold"
- Click="CloseButton_Click"/>
- </StackPanel>
- </Grid>
- </Border>
- <Grid Grid.Row="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="31*"/>
- <ColumnDefinition Width="169*"/>
- </Grid.ColumnDefinitions>
- <StackPanel Background="{StaticResource color2}"
- Grid.Column="0">
- <Button Height="30"
- Margin="5"
- Content="Создать тест"
- Click="CreateTestClick">
- </Button>
- <Button Height="30"
- Margin="5"
- Content="Тесты"
- Click="TestsCatalogClick">
- </Button>
- <Button Height="30"
- Margin="5"
- Content="Профиль"
- Click="ProfileClick">
- </Button>
- </StackPanel>
- <Frame Name="MainFrame"
- Grid.Column="1">
- </Frame>
- </Grid>
- </Grid>
- </Window>
|