1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <Window x:Class="WpfApp1.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:WpfApp1"
- mc:Ignorable="d"
- Title="MainWindow" Height="800" Width="1000"
- WindowStartupLocation="CenterScreen"
- WindowStyle="None"
- AllowsTransparency="True"
- Background="Transparent"
- Loaded="Window_Loaded"
- ResizeMode="CanResizeWithGrip"
- MinHeight="800"
- MinWidth="700">
- <Border x:Name="WindowBorder" CornerRadius="15" Background="White">
- <Border CornerRadius="15" Background="Azure" Margin="5 5 5 5" MouseDown="Border_MouseDown">
- <Grid Background="Transparent" Margin="5 5 5 5">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="87*"/>
- <ColumnDefinition Width="893*"/>
- </Grid.ColumnDefinitions>
- <StackPanel Width="170" HorizontalAlignment="Right" Orientation="Horizontal" VerticalAlignment="Top" Grid.Column="1" Height="25">
- <Button Style="{StaticResource MaterialDesignOutlinedButton}" Click="Button_Click_3" Background="White" BorderBrush="Black" Foreground="Black" Content="←" FontWeight="Normal" FontSize="14" Width="50" Height="25" Margin="0 0 5 0"/>
- <Button Style="{StaticResource MaterialDesignOutlinedButton}" Click="Button_Click_1" Background="White" BorderBrush="Black" Foreground="Black" Content="_" FontWeight="Bold" FontSize="14" Width="50" Height="25" Margin="0 0 5 0"/>
- <Button Style="{StaticResource MaterialDesignOutlinedButton}" Click="Button_Click" Background="White" BorderBrush="Black" Foreground="Black" Content="X" FontWeight="Bold" FontSize="14" Width="50" Height="25"/>
- </StackPanel>
- <StackPanel VerticalAlignment="Center" HorizontalAlignment="Left" Grid.Column="1" Margin="113,0,0,0" Height="210" Width="560">
- <ScrollViewer VerticalScrollBarVisibility="Auto">
- <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" Height="Auto">
- <Border Margin="10,10,10,10" CornerRadius="15" Background="#32373d" HorizontalAlignment="Center" Width="540">
- <Grid Margin="10 10 10 10">
- <StackPanel VerticalAlignment="Top" HorizontalAlignment="Center">
- <Button Background="WhiteSmoke" Style="{StaticResource MaterialDesignPaperButton}" Click="Button_Click_2" Content="Падение тела" FontSize="30" Margin="20,0,20,0" BorderBrush="WhiteSmoke" BorderThickness="2" HorizontalAlignment="Center" Width="380" Height="50"/>
- <Button Background="WhiteSmoke" Style="{StaticResource MaterialDesignPaperButton}" Click="Button_Click_4" Content="Скольжение тела" FontSize="30" Margin="20,10,20,0" BorderBrush="WhiteSmoke" BorderThickness="2" HorizontalAlignment="Center" Width="380" Height="50"/>
- <Button Background="WhiteSmoke" Style="{StaticResource MaterialDesignPaperButton}" Click="Button_Click_5" Content="Популяция рыб" FontSize="30" Margin="20,10,20,0" BorderBrush="WhiteSmoke" BorderThickness="2" HorizontalAlignment="Center" Width="380" Height="50"/>
- </StackPanel>
- </Grid>
- </Border>
- </StackPanel>
- </ScrollViewer>
- </StackPanel>
- <Frame x:Name="Framechik" Margin="15,30,0,10" Cursor="Hand" NavigationUIVisibility="Hidden" HorizontalAlignment="Left" Width="950" Navigated="Framechik_Navigated" Grid.ColumnSpan="2" />
- </Grid>
- </Border>
- </Border>
- </Window>
|