WinMoveTruss.xaml
2.55 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<Window x:Class="HHECS.WinCommon.Controls.WinMoveTruss"
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:HHECS.WinCommon.Controls"
mc:Ignorable="d"
WindowStartupLocation="CenterScreen"
Title="移车任务画面" Height="400" Width="400" Loaded="Window_Loaded" Closed="Window_Closed">
<Window.Resources>
<Style TargetType="StackPanel">
<Setter Property="Orientation" Value="Horizontal"></Setter>
<Setter Property="HorizontalAlignment" Value="Center"></Setter>
<Setter Property="Margin" Value="0,5,0,5"></Setter>
</Style>
<Style TargetType="TextBlock" BasedOn="{StaticResource BaseTextBlockStyle}">
<Setter Property="Foreground" Value="Black"/>
<Setter Property="Margin" Value="10,0,0,0"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<Style TargetType="TextBox" BasedOn="{StaticResource BaseTextBoxStyle}">
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<Style TargetType="Button" BasedOn="{StaticResource BaseButtonStyle}">
<Setter Property="Margin" Value="10,0,0,0"/>
</Style>
<Style TargetType="ComboBox" BasedOn="{StaticResource BaseComboBoxStyle}">
<Setter Property="MinWidth" Value="100"></Setter>
<Setter Property="Height" Value="35"></Setter>
</Style>
</Window.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<!--<TextBox Text="站台:" Grid.Column="0" Grid.Row="1" HorizontalAlignment="Right"></TextBox>
<ComboBox x:Name="cbx_Stationid" Grid.Column="1" Grid.Row="1" Height="40" Width="120"></ComboBox>-->
<GroupBox Header="移车画面" Grid.Row="0">
<StackPanel>
<TextBlock FontSize="16" Text="站台:" />
<ComboBox x:Name="cbx_StationId" Width="120" Height="40"/>
<Button x:Name="btn_Issue" Style="{StaticResource ButtonPrimary}" Click="Btn_Issue_Click" Content="确定" Margin="5"/>
<Button x:Name="btn_Cancel" Style="{StaticResource ButtonDefault}" Click="Btn_Cancel_Click" Content="关闭" Margin="5"/>
</StackPanel>
</GroupBox>
</Grid>
</Window>