|
@@ -7,7 +7,7 @@
|
7
|
7
|
mc:Ignorable="d"
|
8
|
8
|
Title="FileDirectoryWindow" Height="729" Width="1030" AllowsTransparency="True"
|
9
|
9
|
ShowInTaskbar="False" MouseLeftButtonDown="Window_MouseLeftButtonDown_1" MouseLeftButtonUp="Window_MouseLeftButtonUp"
|
10
|
|
- WindowStartupLocation="CenterOwner"
|
|
10
|
+ WindowStartupLocation="CenterOwner"
|
11
|
11
|
WindowStyle="None">
|
12
|
12
|
<Window.Resources>
|
13
|
13
|
<!-- ListBox容器样式 -->
|
|
@@ -31,7 +31,7 @@
|
31
|
31
|
</Style>
|
32
|
32
|
<DataTemplate x:Key="TongjiItem">
|
33
|
33
|
<UniformGrid
|
34
|
|
- Height="36"
|
|
34
|
+ Height="50"
|
35
|
35
|
Margin="0,0,0,0"
|
36
|
36
|
Background="{Binding Colour}"
|
37
|
37
|
Columns="5"
|
|
@@ -40,7 +40,7 @@
|
40
|
40
|
<TextBlock
|
41
|
41
|
HorizontalAlignment="Center"
|
42
|
42
|
VerticalAlignment="Center"
|
43
|
|
- FontSize="15"
|
|
43
|
+ FontSize="16"
|
44
|
44
|
Text="{Binding SerialNumber}" />
|
45
|
45
|
<Grid>
|
46
|
46
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center"
|
|
@@ -48,14 +48,14 @@
|
48
|
48
|
<TextBox IsEnabled="{Binding IsEnabled}"
|
49
|
49
|
HorizontalAlignment="Center"
|
50
|
50
|
VerticalAlignment="Center"
|
51
|
|
- FontSize="15"
|
52
|
|
- Text="{Binding VideoName,Mode=TwoWay}" />
|
|
51
|
+ FontSize="16" Height="30" Padding="0,5,0,0"
|
|
52
|
+ Text="{Binding VideoName,Mode=TwoWay}" Width="150"/>
|
53
|
53
|
<Button x:Name="btnModify" Background="Transparent"
|
54
|
54
|
Cursor="Hand"
|
55
|
55
|
BorderThickness="0" Click="BtnModify_Click">
|
56
|
56
|
<Grid>
|
57
|
|
- <Image Source="./Images/fileDirectory3.png" Margin="6,6,6,6" Visibility="{Binding vis}"/>
|
58
|
|
- <Image Source="./Images/fileDirectory4.png" Margin="6,6,6,6" Visibility="{Binding cos}"/>
|
|
57
|
+ <Image Source="./Images/fileDirectory3.png" Margin="6,6,6,6" Height="20" Visibility="{Binding vis}"/>
|
|
58
|
+ <Image Source="./Images/fileDirectory4.png" Margin="6,6,6,6" Height="20" Visibility="{Binding cos}"/>
|
59
|
59
|
</Grid>
|
60
|
60
|
</Button>
|
61
|
61
|
</StackPanel>
|
|
@@ -73,13 +73,13 @@
|
73
|
73
|
<TextBlock
|
74
|
74
|
HorizontalAlignment="Center"
|
75
|
75
|
VerticalAlignment="Center"
|
76
|
|
- FontSize="15"
|
|
76
|
+ FontSize="16"
|
77
|
77
|
Text="{Binding VideoSize}" />
|
78
|
78
|
<!--最短时长-->
|
79
|
79
|
<TextBlock
|
80
|
80
|
HorizontalAlignment="Center"
|
81
|
81
|
VerticalAlignment="Center"
|
82
|
|
- FontSize="15"
|
|
82
|
+ FontSize="16"
|
83
|
83
|
Text="{Binding VideoTime}" />
|
84
|
84
|
|
85
|
85
|
<Grid>
|
|
@@ -89,24 +89,24 @@
|
89
|
89
|
Cursor="Hand"
|
90
|
90
|
BorderThickness="0" Click="BtnPlay_Click">
|
91
|
91
|
<Grid>
|
92
|
|
- <Image Source="./Images/fileDirectory1.png" Margin="6,6,6,6" Visibility="{Binding vis}"/>
|
93
|
|
- <Image Source="./Images/fileDirectory2.png" Margin="6,6,6,6" Visibility="{Binding cos}"/>
|
|
92
|
+ <Image Source="./Images/fileDirectory1.png" Margin="10" Height="20" Visibility="{Binding vis}"/>
|
|
93
|
+ <Image Source="./Images/fileDirectory2.png" Margin="10" Visibility="{Binding cos}"/>
|
94
|
94
|
</Grid>
|
95
|
95
|
</Button>
|
96
|
96
|
<Button x:Name="btnUpload" Background="Transparent"
|
97
|
97
|
Cursor="Hand"
|
98
|
98
|
BorderThickness="0" Click="BtnUpload_Click">
|
99
|
99
|
<Grid>
|
100
|
|
- <Image Source="./Images/fileDirectory7.png" Margin="6,6,6,6" Visibility="{Binding vis}"/>
|
101
|
|
- <Image Source="./Images/fileDirectory8.png" Margin="6,6,6,6" Visibility="{Binding cos}"/>
|
|
100
|
+ <Image Source="./Images/fileDirectory7.png" Margin="6,6,6,6" Height="20" Visibility="{Binding vis}"/>
|
|
101
|
+ <Image Source="./Images/fileDirectory8.png" Margin="6,6,6,6" Height="20" Visibility="{Binding cos}"/>
|
102
|
102
|
</Grid>
|
103
|
103
|
</Button>
|
104
|
104
|
<Button x:Name="btnDelete" Background="Transparent"
|
105
|
105
|
Cursor="Hand"
|
106
|
106
|
BorderThickness="0" Click="BtnDelete_Click">
|
107
|
107
|
<Grid>
|
108
|
|
- <Image Source="./Images/fileDirectory5.png" Margin="6,6,6,6" Visibility="{Binding vis}"/>
|
109
|
|
- <Image Source="./Images/fileDirectory6.png" Margin="6,6,6,6" Visibility="{Binding cos}"/>
|
|
108
|
+ <Image Source="./Images/fileDirectory5.png" Margin="6,6,6,6" Height="20" Visibility="{Binding vis}"/>
|
|
109
|
+ <Image Source="./Images/fileDirectory6.png" Margin="6,6,6,6" Height="20" Visibility="{Binding cos}"/>
|
110
|
110
|
</Grid>
|
111
|
111
|
</Button>
|
112
|
112
|
</StackPanel>
|
|
@@ -117,64 +117,81 @@
|
117
|
117
|
</DataTemplate>
|
118
|
118
|
</Window.Resources>
|
119
|
119
|
<Viewbox>
|
120
|
|
- <Grid Height="729" Width="1030" >
|
121
|
|
- <!--分4行-->
|
122
|
|
- <Grid.RowDefinitions>
|
123
|
|
- <RowDefinition Height="45"/>
|
124
|
|
- <RowDefinition Height="*"/>
|
125
|
|
- <RowDefinition Height="30"/>
|
126
|
|
- </Grid.RowDefinitions>
|
127
|
|
- <!--第一行 标题-->
|
128
|
|
- <Border Grid.Row="0" Background="#2D8CF0">
|
129
|
|
- <Grid MouseLeftButtonDown="Window_MouseLeftButtonDown">
|
130
|
|
- <TextBlock Text="文件目录" Foreground="#FFFFFF" FontSize="16" Padding="10,13,0,0"/>
|
131
|
|
- <Button Cursor="Hand" Grid.Row="0" x:Name="btnDown" Content="×" Foreground="#FFFFFF" FontSize="25" Padding="10,0,10,0" HorizontalAlignment="Right" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="btnDown_Click"/>
|
132
|
|
- </Grid>
|
133
|
|
- </Border>
|
134
|
|
- <!--第二行 内容-->
|
135
|
|
- <Grid Grid.Row="1" Margin="0,15,0,0">
|
136
|
|
- <Grid.RowDefinitions>
|
137
|
|
- <RowDefinition Height="45"/>
|
138
|
|
- <RowDefinition Height="*"/>
|
139
|
|
- </Grid.RowDefinitions>
|
140
|
|
- <UniformGrid x:Name="uniStatisticsByTitle"
|
|
120
|
+ <Border Background="#fefefe" Height="729" Width="1030">
|
|
121
|
+ <Border Background="#fdfdfd" Height="727" Width="1028">
|
|
122
|
+ <Border Background="#fcfcfc" Height="725" Width="1026">
|
|
123
|
+ <Border Background="#fafafa" Height="723" Width="1024">
|
|
124
|
+ <Border Background="#f9f9f9" Height="721" Width="1022">
|
|
125
|
+ <Border Background="#f6f6f6" Height="719" Width="1020">
|
|
126
|
+ <Border Background="#f3f3f3" Height="717" Width="1018">
|
|
127
|
+ <Border Background="#eeeeee" Height="715" Width="1016">
|
|
128
|
+ <Border Background="#e9e9e9" Height="713" Width="1014">
|
|
129
|
+ <Border Background="#e2e2e2" Height="711" Width="1012">
|
|
130
|
+ <Border Background="#dcdcdc" Height="709" Width="1010">
|
|
131
|
+ <Border Background="#d3d3d3" Height="707" Width="1008">
|
|
132
|
+ <Border Background="#cccccc" Height="705" Width="1006">
|
|
133
|
+ <Border Background="#bfbfbf" Height="703" Width="1004">
|
|
134
|
+ <Border Background="#aeaeae" Height="701" Width="1002">
|
|
135
|
+ <Border Background="#bababa" Height="699" Width="1000">
|
|
136
|
+ <Border Background="#e4e4e4" Height="697" Width="998">
|
|
137
|
+ <Grid Height="695" Width="998" Background="#FFFFFF" Margin="0,-1,0,0">
|
|
138
|
+ <!--分4行-->
|
|
139
|
+ <Grid.RowDefinitions>
|
|
140
|
+ <RowDefinition Height="45"/>
|
|
141
|
+ <RowDefinition Height="*"/>
|
|
142
|
+ <RowDefinition Height="30"/>
|
|
143
|
+ </Grid.RowDefinitions>
|
|
144
|
+ <!--第一行 标题-->
|
|
145
|
+ <Border Grid.Row="0" Background="#2D8CF0">
|
|
146
|
+ <Grid MouseLeftButtonDown="Window_MouseLeftButtonDown">
|
|
147
|
+ <TextBlock Text="文件目录" Foreground="#FFFFFF" FontSize="16" Padding="10,13,0,0"/>
|
|
148
|
+ <Button Cursor="Hand" Grid.Row="0" x:Name="btnDown" Content="×" Foreground="#FFFFFF" FontSize="25" Padding="10,0,10,0" HorizontalAlignment="Right" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="btnDown_Click"/>
|
|
149
|
+ </Grid>
|
|
150
|
+ </Border>
|
|
151
|
+ <!--第二行 内容-->
|
|
152
|
+ <Grid Grid.Row="1" Margin="0,15,0,0">
|
|
153
|
+ <Grid.RowDefinitions>
|
|
154
|
+ <RowDefinition Height="45"/>
|
|
155
|
+ <RowDefinition Height="*"/>
|
|
156
|
+ </Grid.RowDefinitions>
|
|
157
|
+ <UniformGrid x:Name="uniStatisticsByTitle"
|
141
|
158
|
Grid.Row="0"
|
142
|
159
|
Margin="10,0,10,0"
|
143
|
160
|
Background="#2D8CF0"
|
144
|
161
|
Columns="5"
|
145
|
162
|
Rows="1">
|
146
|
|
- <TextBlock
|
|
163
|
+ <TextBlock
|
147
|
164
|
HorizontalAlignment="Center"
|
148
|
165
|
VerticalAlignment="Center"
|
149
|
|
- FontSize="15"
|
|
166
|
+ FontSize="16"
|
150
|
167
|
Text="序号" Foreground="White" />
|
151
|
|
- <TextBlock
|
|
168
|
+ <TextBlock
|
152
|
169
|
HorizontalAlignment="Center"
|
153
|
170
|
VerticalAlignment="Center"
|
154
|
|
- FontSize="15"
|
|
171
|
+ FontSize="16"
|
155
|
172
|
Text="视频名称" Foreground="White" />
|
156
|
|
- <!--<TextBlock
|
|
173
|
+ <!--<TextBlock
|
157
|
174
|
HorizontalAlignment="Center"
|
158
|
175
|
VerticalAlignment="Center"
|
159
|
176
|
FontSize="15"
|
160
|
177
|
Text="视频时长" Foreground="White" />-->
|
161
|
|
- <TextBlock
|
|
178
|
+ <TextBlock
|
162
|
179
|
HorizontalAlignment="Center"
|
163
|
180
|
VerticalAlignment="Center"
|
164
|
|
- FontSize="15"
|
|
181
|
+ FontSize="16"
|
165
|
182
|
Text="视频大小" Foreground="White" />
|
166
|
|
- <TextBlock
|
|
183
|
+ <TextBlock
|
167
|
184
|
HorizontalAlignment="Center"
|
168
|
185
|
VerticalAlignment="Center"
|
169
|
|
- FontSize="15"
|
|
186
|
+ FontSize="16"
|
170
|
187
|
Text="日期" Foreground="White" />
|
171
|
|
- <TextBlock
|
|
188
|
+ <TextBlock
|
172
|
189
|
HorizontalAlignment="Center"
|
173
|
190
|
VerticalAlignment="Center"
|
174
|
|
- FontSize="15"
|
|
191
|
+ FontSize="16"
|
175
|
192
|
Text="操作" Foreground="White" />
|
176
|
|
- </UniformGrid>
|
177
|
|
- <ListBox Grid.Row="1"
|
|
193
|
+ </UniformGrid>
|
|
194
|
+ <ListBox Grid.Row="1"
|
178
|
195
|
x:Name="listView1"
|
179
|
196
|
BorderThickness="0"
|
180
|
197
|
FontSize="20"
|
|
@@ -183,24 +200,41 @@
|
183
|
200
|
ItemsSource="{Binding menuList}"
|
184
|
201
|
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
185
|
202
|
ScrollViewer.VerticalScrollBarVisibility="Disabled"/>
|
186
|
|
- </Grid>
|
187
|
|
- <!--第三行 删除 上传 按钮-->
|
188
|
|
- <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Right" Height="32">
|
189
|
|
- <TextBlock Text="共" FontSize="20" Padding="0,5,0,0"/>
|
190
|
|
- <TextBlock x:Name="txbSum" Text="0" FontSize="20" Padding="0,5,0,0"/>
|
191
|
|
- <TextBlock Text="条" FontSize="20" Padding="0,5,0,0"/>
|
192
|
|
- <Button Background="Transparent"
|
|
203
|
+ </Grid>
|
|
204
|
+ <!--第三行 删除 上传 按钮-->
|
|
205
|
+ <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Right" Height="32">
|
|
206
|
+ <TextBlock Text="共" FontSize="20" Padding="0,5,0,0"/>
|
|
207
|
+ <TextBlock x:Name="txbSum" Text="0" FontSize="20" Padding="0,5,0,0"/>
|
|
208
|
+ <TextBlock Text="条" FontSize="20" Padding="0,5,0,0"/>
|
|
209
|
+ <Button Background="Transparent"
|
193
|
210
|
Cursor="Hand"
|
194
|
211
|
BorderThickness="0" Content="上一页" FontSize="20" Margin="10,0,0,0" >
|
195
|
|
- <!--<Image Source="./Images/class_p1.png"/>-->
|
196
|
|
- </Button>
|
197
|
|
- <Button Background="Transparent"
|
|
212
|
+ <!--<Image Source="./Images/class_p1.png"/>-->
|
|
213
|
+ </Button>
|
|
214
|
+ <Button Background="Transparent"
|
198
|
215
|
Cursor="Hand"
|
199
|
216
|
BorderThickness="0" Content="下一页" FontSize="20" Margin="10,0,0,0" >
|
200
|
|
- <!--<Image Source="./Images/class_p2.png"/>-->
|
201
|
|
- </Button>
|
202
|
|
- </StackPanel>
|
203
|
|
-
|
204
|
|
- </Grid>
|
|
217
|
+ <!--<Image Source="./Images/class_p2.png"/>-->
|
|
218
|
+ </Button>
|
|
219
|
+ </StackPanel>
|
|
220
|
+
|
|
221
|
+ </Grid>
|
|
222
|
+ </Border>
|
|
223
|
+ </Border>
|
|
224
|
+ </Border>
|
|
225
|
+ </Border>
|
|
226
|
+ </Border>
|
|
227
|
+ </Border>
|
|
228
|
+ </Border>
|
|
229
|
+ </Border>
|
|
230
|
+ </Border>
|
|
231
|
+ </Border>
|
|
232
|
+ </Border>
|
|
233
|
+ </Border>
|
|
234
|
+ </Border>
|
|
235
|
+ </Border>
|
|
236
|
+ </Border>
|
|
237
|
+ </Border>
|
|
238
|
+ </Border>
|
205
|
239
|
</Viewbox>
|
206
|
240
|
</Window>
|