-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlateno.xaml
62 lines (47 loc) · 3.37 KB
/
Plateno.xaml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<Window x:Class="DESCADA.Plateno"
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:DESCADA"
mc:Ignorable="d"
Title="Plateno" WindowStyle="None" Background="Transparent" AllowsTransparency="True"
Height="1080" Width="1920" WindowStartupLocation="Manual" Loaded="Window_Loaded"
>
<Grid>
<Border Background="#000000" Opacity="0.5" Height="1080" Width="1920" />
<Grid Height="285" Width="538" VerticalAlignment="Center" HorizontalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="50" />
<RowDefinition Height="135" />
<RowDefinition Height="100"/>
</Grid.RowDefinitions>
<Grid.Background>
<ImageBrush ImageSource="/Resources/弹窗.png" />
</Grid.Background>
<TextBlock Text="修改车牌" Margin="56 7 0 0" FontFamily="{StaticResource xinyi}" VerticalAlignment="Top" FontSize="24" Foreground="white"/>
<Image Source="/Resources/关闭.png" Stretch="None" Margin="0,9,0,0" VerticalAlignment="Top" HorizontalAlignment="Right" Cursor="Hand" MouseDown="Close_MouseDown"/>
<StackPanel Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="left" Orientation="Vertical" Margin="105 0 0 0" >
<TextBlock Text="车牌号码" Margin="0 7 0 0" FontFamily="{StaticResource xinyi}" VerticalAlignment="Top" FontSize="16" Foreground="white"/>
<TextBox Margin="0 16 0 0" Name="txtPlateNo" Text="京A123456" Padding="16 0 0 0" TextWrapping="Wrap" Width="327" Height="40" FontSize="15" Foreground="white" CaretBrush="white"
VerticalContentAlignment="Center" BorderThickness="0" >
<TextBox.Background>
<ImageBrush ImageSource="/Resources/矩形 815.png" Stretch="UniformToFill" TileMode="None" />
</TextBox.Background>
</TextBox>
</StackPanel>
<StackPanel Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">
<Button x:Name="bnt1" Content="取消" BorderThickness="0" Foreground="White" Margin="10 0 0 0" FontSize="15" FontFamily="{StaticResource xinyi}" Width="95" Height="32" HorizontalAlignment="Center" VerticalAlignment="Top" Command="{Binding BtnCommand}" Click="btnCancel_Click">
<Button.Background>
<ImageBrush ImageSource="/Resources/圆角矩形2拷贝5.png" Stretch="Fill"></ImageBrush>
</Button.Background>
</Button>
<Button x:Name="btnOK" Content="确认" IsDefault="True" BorderThickness="0" Foreground="White" Margin="10 0 0 0" FontSize="15" FontFamily="{StaticResource xinyi}" Width="95" Height="32" HorizontalAlignment="Center" VerticalAlignment="Top" Command="{Binding BtnCommand}" Click="btnOK_Click" >
<Button.Background>
<ImageBrush ImageSource="/Resources/圆角矩形2拷贝5-1.png" Stretch="Fill"></ImageBrush>
</Button.Background>
</Button>
</StackPanel>
</Grid>
</Grid>
</Window>