mirror of
https://github.com/denglihong2007/CRSim
synced 2026-08-01 22:26:14 +08:00
38 lines
2.0 KiB
XML
38 lines
2.0 KiB
XML
<Window x:Class="CRSim.ScreenSimulator.Views.SimulatorWindow"
|
|
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:CRSim.ScreenSimulator.Views"
|
|
mc:Ignorable="d"
|
|
Title="引导屏"
|
|
Background="Transparent"
|
|
Foreground="White"
|
|
SizeToContent="WidthAndHeight"
|
|
ResizeMode="NoResize"
|
|
WindowStyle="None"
|
|
AllowsTransparency="True"
|
|
MouseDown="Window_MouseDown">
|
|
<StackPanel Orientation="Vertical">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Border Grid.Column="1" Background="#E0202020" CornerRadius="8" BorderBrush="#424242"
|
|
BorderThickness="1" Padding="4">
|
|
<StackPanel Orientation="Horizontal">
|
|
<Image Source="/CRSim.ScreenSimulator;component/Assets/CRSimIcon.png" Width="30" Margin="0,0,12,0"/>
|
|
<TextBlock Text="" FontFamily="Segoe MDL2 Assets" FontSize="20" VerticalAlignment="Center" MouseLeftButtonDown="DecreaseSpeed"/>
|
|
<TextBlock x:Name="SpeedText" Text="1x" FontSize="22" VerticalAlignment="Center" Margin="6,0"/>
|
|
<TextBlock Text="" FontFamily="Segoe MDL2 Assets" FontSize="20" VerticalAlignment="Center" MouseLeftButtonDown="IncreaseSpeed"/>
|
|
<TextBlock Text="" FontFamily="Segoe MDL2 Assets" FontSize="20"
|
|
VerticalAlignment="Center" Margin="12,0,2,0" MouseLeftButtonDown="Close"/>
|
|
</StackPanel>
|
|
</Border>
|
|
</Grid>
|
|
<Frame x:Name="contentFrame" Margin="0,4,0,0"/>
|
|
</StackPanel>
|
|
</Window>
|