forked from Soda-Quantum-Lab/SodaCL
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
26 lines (26 loc) · 1.79 KB
/
MainWindow.xaml
File metadata and controls
26 lines (26 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<Window x:Class="SodaCL.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:MyNamespace="clr-namespace:SodaCL.Controls"
xmlns:local="clr-namespace:SodaCL"
mc:Ignorable="d" Title="SodaCL" Height="500" Width="800" WindowStyle="None" AllowsTransparency="True" Background="Transparent" OpacityMask="White" Initialized="Window_Initialized">
<Grid Margin="10">
<Grid.Effect>
<DropShadowEffect BlurRadius="15" Direction="-90" RenderingBias="Quality" ShadowDepth="2"/>
</Grid.Effect>
<Border CornerRadius="20,20,20,20" Background="White"></Border>
<Border Height="45" Background="White" CornerRadius="20,20,0,0" VerticalAlignment="Top" MouseLeftButtonDown="Border_MouseLeftButtonDown" Grid.ColumnSpan="2">
<StackPanel Height="45" VerticalAlignment="Top" Orientation="Horizontal">
<Image Height="32" Width="32" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="11,5,0,0" Source="/Resources/Images/Dev-Version.ico" />
<Label Content="Soda Craft Launcher" Height="30" Margin="5,3,0,0" FontSize="18" />
<Label Name ="ButtonClose" Content=" ×" FontSize="16" MouseDown="Label_MouseDown" Width="39" Height="30" Margin="500,0,0,0" MouseEnter="Label1_MouseEnter" MouseLeave="Label1_MouseLeave" ToolTip="关闭" Foreground="White">
<Label.Background>
<ImageBrush/>
</Label.Background>
</Label>
</StackPanel>
</Border>
</Grid>
</Window>