WinHistory.xaml
5.28 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<Window x:Class="XingYe_ACS.UI.WinHistory"
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:XingYe_ACS.UI"
mc:Ignorable="d"
Title="WinHistory" Height="700" Width="1000"
WindowStartupLocation="CenterScreen"
WindowStyle="None" AllowsTransparency="True" Background="Transparent"
Loaded="Window_Loaded">
<Border Background="White" BorderThickness="1" BorderBrush="{StaticResource HHLGRed}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto"></RowDefinition>
<RowDefinition Height="auto"></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition Height="auto"></RowDefinition>
<RowDefinition Height="auto"></RowDefinition>
</Grid.RowDefinitions>
<Grid Grid.Row="2">
<Grid.RowDefinitions>
<RowDefinition Height="auto"></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<Grid Background="{StaticResource HHLGRed}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto"></ColumnDefinition>
<ColumnDefinition Width="auto"></ColumnDefinition>
<ColumnDefinition Width="auto"></ColumnDefinition>
<ColumnDefinition Width="auto"></ColumnDefinition>
<ColumnDefinition Width="auto"></ColumnDefinition>
<ColumnDefinition Width="auto"></ColumnDefinition>
<ColumnDefinition Width="184*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<TextBlock Foreground="White" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="3">任务类型:</TextBlock>
<ComboBox Name="cBoxTaskType" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left" MinWidth="200" IsEditable="True" VerticalAlignment="Center" Margin="3"></ComboBox>
<TextBlock Foreground="White" Grid.Row="1" Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="3" >Agv编号:</TextBlock>
<TextBox Name="tBoxAgvNo" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" MinWidth="200" VerticalAlignment="Center" Margin="3"></TextBox>
<TextBlock Foreground="White" Grid.Row="0" Grid.Column="4" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="3">开始时间:</TextBlock>
<DatePicker Name="CalendarStart" Grid.Row="0" Grid.Column="5" HorizontalAlignment="Left" Margin="3" MinWidth="200" VerticalAlignment="Center"></DatePicker>
<TextBlock Foreground="White" Grid.Row="1" Grid.Column="4" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="3">结束时间:</TextBlock>
<DatePicker Name="CalendarEnd" Grid.Row="1" Grid.Column="5" HorizontalAlignment="Left" MinWidth="200" VerticalAlignment="Center" Margin="3"></DatePicker>
<Button Name="BtnQuery" Click="BtnQuery_Click" Grid.Column="6" HorizontalAlignment="Right" MinWidth="100" Margin="0,17,210,22" Grid.RowSpan="2">历史记录查询</Button>
</Grid>
<DataGrid Grid.Row="1" Name="Grid_History" CanUserAddRows="False" CanUserDeleteRows="False"></DataGrid>
</Grid>
<Grid Name="Spl_title" Grid.Row="0" Grid.ColumnSpan="2">
<Grid.ColumnDefinitions>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition Width="auto"></ColumnDefinition>
<ColumnDefinition Width="auto"></ColumnDefinition>
<ColumnDefinition Width="auto"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
MouseLeftButtonDown="TextBlock_MouseLeftButtonDown"
Foreground="{StaticResource HHAst2}" FontSize="20">历 史 查 询</TextBlock>
</Grid>
<StackPanel Height="2" Grid.Row="1" Background="{StaticResource HHLGRed}"></StackPanel>
<StackPanel Height="2" Grid.Row="3" Background="{StaticResource HHLGRed}"></StackPanel>
<TextBlock Grid.Row="4" FontSize="20" HorizontalAlignment="Center"
Foreground="{StaticResource HHAst2}">控制台系统</TextBlock>
</Grid>
</Border>
</Window>