|
@@ -13,6 +13,17 @@
|
13
|
13
|
<Window.Effect>
|
14
|
14
|
<DropShadowEffect BlurRadius="10" Color="#bababa" Direction="80" ShadowDepth="0"/>
|
15
|
15
|
</Window.Effect>
|
|
16
|
+ <!--<Grid>
|
|
17
|
+ <Border CornerRadius="0,0,0,0"
|
|
18
|
+ Background="White"
|
|
19
|
+ BorderBrush="Gray"
|
|
20
|
+ BorderThickness="1"
|
|
21
|
+ Margin="10,10,10,10">
|
|
22
|
+ <Border.Effect>
|
|
23
|
+ <DropShadowEffect Color="Gray" BlurRadius="10" ShadowDepth="0" Opacity="0.8" />
|
|
24
|
+ </Border.Effect>
|
|
25
|
+ </Border>
|
|
26
|
+ </Grid>-->
|
16
|
27
|
<Window.Resources>
|
17
|
28
|
<!-- ListBox容器样式 -->
|
18
|
29
|
<Style x:Key="ListBoxItemContainerStyle" TargetType="{x:Type ListBoxItem}">
|
|
@@ -64,6 +75,17 @@
|
64
|
75
|
</Button>
|
65
|
76
|
</StackPanel>
|
66
|
77
|
</Grid>
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+ <!--分值-->
|
|
81
|
+ <!--
|
|
82
|
+ <TextBlock
|
|
83
|
+ HorizontalAlignment="Center"
|
|
84
|
+ VerticalAlignment="Center"
|
|
85
|
+ FontSize="15"
|
|
86
|
+ Text="{Binding VideoDuration}" />-->
|
|
87
|
+
|
|
88
|
+ <!--平均时长-->
|
67
|
89
|
<TextBlock
|
68
|
90
|
HorizontalAlignment="Center"
|
69
|
91
|
VerticalAlignment="Center"
|
|
@@ -75,6 +97,7 @@
|
75
|
97
|
VerticalAlignment="Center"
|
76
|
98
|
FontSize="16"
|
77
|
99
|
Text="{Binding VideoTime}" />
|
|
100
|
+
|
78
|
101
|
<Grid>
|
79
|
102
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center"
|
80
|
103
|
VerticalAlignment="Center">
|
|
@@ -104,6 +127,8 @@
|
104
|
127
|
</Button>
|
105
|
128
|
</StackPanel>
|
106
|
129
|
</Grid>
|
|
130
|
+
|
|
131
|
+
|
107
|
132
|
</UniformGrid>
|
108
|
133
|
</DataTemplate>
|
109
|
134
|
</Window.Resources>
|
|
@@ -122,131 +147,141 @@
|
122
|
147
|
<RowDefinition Height="*"/>
|
123
|
148
|
<RowDefinition Height="auto"/>
|
124
|
149
|
</Grid.RowDefinitions>
|
125
|
|
- <Grid Grid.Row="0" Background="#2D8CF0" MouseLeftButtonDown="Window_MouseLeftButtonDown" Margin="0,0,0,0" MinHeight="100px" MouseDown="Grid_MouseDown">
|
126
|
|
- <Grid.RowDefinitions>
|
127
|
|
- <RowDefinition Height="auto"/>
|
128
|
|
- <RowDefinition Height="auto"/>
|
129
|
|
- </Grid.RowDefinitions>
|
130
|
|
- <!--第一行-->
|
131
|
|
- <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="10,2,10,0">
|
132
|
|
- <Image Source="./Images/microLessonSystem_0.png"/>
|
133
|
|
- <TextBlock Text="星火微课系统" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
|
134
|
|
- </StackPanel>
|
|
150
|
+ <Grid Grid.Row="0" Background="#2D8CF0" MouseLeftButtonDown="Window_MouseLeftButtonDown" Margin="0,0,0,0" MinHeight="100px" MouseDown="Grid_MouseDown">
|
|
151
|
+ <Grid.RowDefinitions>
|
|
152
|
+ <RowDefinition Height="auto"/>
|
|
153
|
+ <RowDefinition Height="auto"/>
|
|
154
|
+ </Grid.RowDefinitions>
|
|
155
|
+ <!--第一行-->
|
|
156
|
+ <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="10,2,10,0">
|
|
157
|
+ <Image Source="./Images/microLessonSystem_0.png"/>
|
|
158
|
+ <TextBlock Text="星火微课系统" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
|
|
159
|
+ </StackPanel>
|
135
|
160
|
|
136
|
|
- <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,2,20,0">
|
137
|
|
- <Button Cursor="Hand" x:Name="btnLoginType" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,10,0" Click="BtnLoginType_Click">
|
138
|
|
- <StackPanel Orientation="Horizontal">
|
139
|
|
- <Image Source="./Images/microLessonSystem_9.png"/>
|
140
|
|
- <TextBlock x:Name="txbLoginType" Text="未登录" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
|
141
|
|
- </StackPanel>
|
142
|
|
- </Button>
|
143
|
|
- <Button Cursor="Hand" x:Name="btnShrink" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnShrink_Click" Margin="8,0,8,0">
|
144
|
|
- <Image Source="./Images/microLessonSystem_19.png"/>
|
145
|
|
- </Button>
|
146
|
|
- <!--<Button Cursor="Hand" x:Name="btnEnlarge" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="8,0,8,0">
|
|
161
|
+ <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,2,20,0">
|
|
162
|
+ <Button Cursor="Hand" x:Name="btnLoginType" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,10,0" Click="BtnLoginType_Click">
|
|
163
|
+ <StackPanel Orientation="Horizontal">
|
|
164
|
+ <Image Source="./Images/microLessonSystem_9.png"/>
|
|
165
|
+ <TextBlock x:Name="txbLoginType" Text="未登录" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
|
|
166
|
+ </StackPanel>
|
|
167
|
+ </Button>
|
|
168
|
+ <Button Cursor="Hand" x:Name="btnShrink" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnShrink_Click" Margin="8,0,8,0">
|
|
169
|
+ <Image Source="./Images/microLessonSystem_19.png"/>
|
|
170
|
+ </Button>
|
|
171
|
+ <!--<Button Cursor="Hand" x:Name="btnEnlarge" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="8,0,8,0">
|
147
|
172
|
<Image Source="./Images/microLessonSystem_8.png"/>
|
148
|
173
|
</Button>-->
|
149
|
|
- <Button Cursor="Hand" x:Name="btnDown" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnDown_Click" >
|
150
|
|
- <Image Source="./Images/microLessonSystem_10.png"/>
|
151
|
|
- </Button>
|
152
|
|
- </StackPanel>
|
|
174
|
+ <Button Cursor="Hand" x:Name="btnDown" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnDown_Click" >
|
|
175
|
+ <Image Source="./Images/microLessonSystem_10.png"/>
|
|
176
|
+ </Button>
|
|
177
|
+ </StackPanel>
|
153
|
178
|
|
154
|
179
|
|
155
|
|
- <!--第二行-->
|
|
180
|
+ <!--第二行-->
|
156
|
181
|
|
157
|
|
- <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10,0,0,5" HorizontalAlignment="Left">
|
158
|
|
- <Button Cursor="Hand" x:Name="btnScreenRecording" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnScreenRecording_Click" Margin="30,0,0,0">
|
159
|
|
- <StackPanel Orientation="Vertical">
|
160
|
|
- <Image x:Name="ImgScreenRecording" Source="./Images/microLessonSystem_2.png"/>
|
161
|
|
- <Image x:Name="ImgScreenRecordingTwo" Source="./Images/microLessonSystem_3.png" Visibility="Collapsed"/>
|
162
|
|
- <TextBlock x:Name="TxbRecordScreenWord" Text="录屏" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
163
|
|
- </StackPanel>
|
164
|
|
- </Button>
|
165
|
|
- <Button Cursor="Hand" x:Name="btnScreenshot" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="30,0,0,0" Click="BtnScreenshot_Click">
|
166
|
|
- <StackPanel Orientation="Vertical">
|
167
|
|
- <Image x:Name="ImgScreenshot" Source="./Images/microLessonSystem_12.png"/>
|
168
|
|
- <Image x:Name="ImgScreenshotTwo" Source="./Images/microLessonSystem_11.png" Visibility="Collapsed"/>
|
169
|
|
- <TextBlock Text="截图" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
170
|
|
- </StackPanel>
|
171
|
|
- </Button>
|
172
|
|
- <Button Cursor="Hand" x:Name="btnImport" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnImport_Click" Margin="30,0,0,0">
|
173
|
|
- <StackPanel Orientation="Vertical">
|
174
|
|
- <Image x:Name="ImgImport" Source="./Images/microLessonSystem_6.png"/>
|
175
|
|
- <Image x:Name="ImgImportTwo" Source="./Images/microLessonSystem_7.png" Visibility="Collapsed"/>
|
176
|
|
- <TextBlock Text="导入" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
177
|
|
- </StackPanel>
|
178
|
|
- </Button>
|
179
|
|
- <Button Cursor="Hand" x:Name="BtnRecord" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="100,0,0,0" Click="BtnRecord_Click">
|
180
|
|
- <StackPanel Orientation="Vertical">
|
181
|
|
- <Image x:Name="ImgRecord" Source="./Images/microLessonSystem_14.png"/>
|
182
|
|
- <Image x:Name="ImgRecordTwo" Source="./Images/microLessonSystem_13.png" Visibility="Collapsed"/>
|
183
|
|
- <TextBlock x:Name="TxbRecordingWord" Text="录制" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
184
|
|
- </StackPanel>
|
185
|
|
- </Button>
|
186
|
|
- <Button Cursor="Hand" x:Name="btnStop" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnStop_Click" Margin="30,0,0,0">
|
187
|
|
- <StackPanel Orientation="Vertical">
|
188
|
|
- <Image x:Name="ImgStop" Source="./Images/microLessonSystem_21.png"/>
|
189
|
|
- <Image x:Name="ImgStopTwo" Source="./Images/microLessonSystem_20.png" Visibility="Collapsed"/>
|
190
|
|
- <TextBlock Text="停止" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
191
|
|
- </StackPanel>
|
192
|
|
- </Button>
|
193
|
|
- <TextBlock x:Name="txbTime" Text="" FontSize="20" Foreground="#FFFFFF" Margin="20,20,0,0"/>
|
194
|
|
- </StackPanel>
|
195
|
|
- <StackPanel Grid.Row="1" HorizontalAlignment="Center">
|
196
|
|
- <TextBlock x:Name="txbType" Text="" FontSize="20" Foreground="#FFFFFF" Margin="0,25,0,0"/>
|
197
|
|
- </StackPanel>
|
198
|
|
- <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,0,10,5">
|
199
|
|
- <Button Cursor="Hand" x:Name="btnAdd" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnAdd_Click" Margin="0,0,30,0">
|
200
|
|
- <StackPanel Orientation="Vertical">
|
201
|
|
- <Image x:Name="ImgAdd" Source="./Images/microLessonSystem_25.png" Visibility="Visible"/>
|
202
|
|
- <Image x:Name="ImgAddTwo" Source="./Images/microLessonSystem_24.png" Visibility="Collapsed"/>
|
203
|
|
- <TextBlock Text="增加" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
204
|
|
- </StackPanel>
|
205
|
|
- </Button>
|
206
|
|
- <Button Cursor="Hand" x:Name="btnPrint" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnPrint_Click">
|
207
|
|
- <StackPanel Orientation="Vertical">
|
208
|
|
- <Image x:Name="ImgPrint" Source="./Images/microLessonSystem_4.png" Visibility="Collapsed"/>
|
209
|
|
- <Image x:Name="ImgPrintTwo" Source="./Images/microLessonSystem_5.png" Visibility="Visible"/>
|
210
|
|
- <TextBlock Text="打印" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
211
|
|
- </StackPanel>
|
212
|
|
- </Button>
|
213
|
|
- <!--<Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnUpload_Click" Margin="0,0,30,0">
|
|
182
|
+ <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10,0,0,5" HorizontalAlignment="Left">
|
|
183
|
+ <Button Cursor="Hand" x:Name="btnScreenRecording" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnScreenRecording_Click" Margin="30,0,0,0">
|
|
184
|
+ <StackPanel Orientation="Vertical">
|
|
185
|
+ <Image x:Name="ImgScreenRecording" Source="./Images/microLessonSystem_2.png"/>
|
|
186
|
+ <Image x:Name="ImgScreenRecordingTwo" Source="./Images/microLessonSystem_3.png" Visibility="Collapsed"/>
|
|
187
|
+ <TextBlock x:Name="TxbRecordScreenWord" Text="录屏" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
188
|
+ </StackPanel>
|
|
189
|
+ </Button>
|
|
190
|
+ <Button Cursor="Hand" x:Name="btnScreenshot" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="30,0,0,0" Click="BtnScreenshot_Click">
|
|
191
|
+ <StackPanel Orientation="Vertical">
|
|
192
|
+ <Image x:Name="ImgScreenshot" Source="./Images/microLessonSystem_12.png"/>
|
|
193
|
+ <Image x:Name="ImgScreenshotTwo" Source="./Images/microLessonSystem_11.png" Visibility="Collapsed"/>
|
|
194
|
+ <TextBlock Text="截图" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
195
|
+ </StackPanel>
|
|
196
|
+ </Button>
|
|
197
|
+ <Button Cursor="Hand" x:Name="btnImport" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnImport_Click" Margin="30,0,0,0">
|
|
198
|
+ <StackPanel Orientation="Vertical">
|
|
199
|
+ <Image x:Name="ImgImport" Source="./Images/microLessonSystem_6.png"/>
|
|
200
|
+ <Image x:Name="ImgImportTwo" Source="./Images/microLessonSystem_7.png" Visibility="Collapsed"/>
|
|
201
|
+ <TextBlock Text="导入" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
202
|
+ </StackPanel>
|
|
203
|
+ </Button>
|
|
204
|
+ <Button Cursor="Hand" x:Name="BtnRecord" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="100,0,0,0" Click="BtnRecord_Click">
|
|
205
|
+ <StackPanel Orientation="Vertical">
|
|
206
|
+ <Image x:Name="ImgRecord" Source="./Images/microLessonSystem_14.png"/>
|
|
207
|
+ <Image x:Name="ImgRecordTwo" Source="./Images/microLessonSystem_13.png" Visibility="Collapsed"/>
|
|
208
|
+ <TextBlock x:Name="TxbRecordingWord" Text="录制" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
209
|
+ </StackPanel>
|
|
210
|
+ </Button>
|
|
211
|
+ <Button Cursor="Hand" x:Name="btnStop" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnStop_Click" Margin="30,0,0,0">
|
|
212
|
+ <StackPanel Orientation="Vertical">
|
|
213
|
+ <Image x:Name="ImgStop" Source="./Images/microLessonSystem_21.png"/>
|
|
214
|
+ <Image x:Name="ImgStopTwo" Source="./Images/microLessonSystem_20.png" Visibility="Collapsed"/>
|
|
215
|
+ <TextBlock Text="停止" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
216
|
+ </StackPanel>
|
|
217
|
+ </Button>
|
|
218
|
+ <TextBlock x:Name="txbTime" Text="" FontSize="20" Foreground="#FFFFFF" Margin="20,20,0,0"/>
|
|
219
|
+ </StackPanel>
|
|
220
|
+ <StackPanel Grid.Row="1" HorizontalAlignment="Center">
|
|
221
|
+ <TextBlock x:Name="txbType" Text="" FontSize="20" Foreground="#FFFFFF" Margin="0,25,0,0"/>
|
|
222
|
+ </StackPanel>
|
|
223
|
+ <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,0,10,5">
|
|
224
|
+ <Button Cursor="Hand" x:Name="btnAdd" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnAdd_Click" Margin="0,0,30,0">
|
|
225
|
+ <StackPanel Orientation="Vertical">
|
|
226
|
+ <Image x:Name="ImgAdd" Source="./Images/microLessonSystem_25.png" Visibility="Visible"/>
|
|
227
|
+ <Image x:Name="ImgAddTwo" Source="./Images/microLessonSystem_24.png" Visibility="Collapsed"/>
|
|
228
|
+ <TextBlock Text="增加" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
229
|
+ </StackPanel>
|
|
230
|
+ </Button>
|
|
231
|
+ <Button Cursor="Hand" x:Name="btnPrint" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnPrint_Click">
|
|
232
|
+ <StackPanel Orientation="Vertical">
|
|
233
|
+ <Image x:Name="ImgPrint" Source="./Images/microLessonSystem_4.png" Visibility="Collapsed"/>
|
|
234
|
+ <Image x:Name="ImgPrintTwo" Source="./Images/microLessonSystem_5.png" Visibility="Visible"/>
|
|
235
|
+ <TextBlock Text="打印" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
236
|
+ </StackPanel>
|
|
237
|
+ </Button>
|
|
238
|
+ <!--<Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnUpload_Click" Margin="0,0,30,0">
|
214
|
239
|
<StackPanel Orientation="Vertical">
|
215
|
240
|
<Image x:Name="ImgUpload" Source="./Images/microLessonSystem_15.png" Visibility="Collapsed"/>
|
216
|
241
|
<Image x:Name="ImgUploadTwo" Source="./Images/microLessonSystem_16.png" Visibility="Visible"/>
|
217
|
242
|
<TextBlock Text="上传" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
218
|
243
|
</StackPanel>
|
219
|
244
|
</Button>-->
|
220
|
|
- <Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnUpload_Click">
|
221
|
|
- <StackPanel Orientation="Vertical">
|
222
|
|
- <Image x:Name="ImgUpload" Source="./Images/microLessonSystem_22.png" Visibility="Collapsed"/>
|
223
|
|
- <Image x:Name="ImgUploadTwo" Source="./Images/microLessonSystem_1.png" Visibility="Visible"/>
|
224
|
|
- <TextBlock Text="我的" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
225
|
|
- </StackPanel>
|
226
|
|
- </Button>
|
227
|
|
- <Button Cursor="Hand" x:Name="btnSetUp" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnSetUp_Click">
|
228
|
|
- <StackPanel Orientation="Vertical">
|
229
|
|
- <Image x:Name="ImgSetUp" Source="./Images/microLessonSystem_18.png" Visibility="Visible"/>
|
230
|
|
- <Image x:Name="ImgSetUpTwo" Source="./Images/microLessonSystem_17.png" Visibility="Collapsed"/>
|
231
|
|
- <TextBlock Text="设置" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
232
|
|
- </StackPanel>
|
233
|
|
- </Button>
|
234
|
|
- </StackPanel>
|
|
245
|
+ <Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnUpload_Click">
|
|
246
|
+ <StackPanel Orientation="Vertical">
|
|
247
|
+ <Image x:Name="ImgUpload" Source="./Images/microLessonSystem_22.png" Visibility="Collapsed"/>
|
|
248
|
+ <Image x:Name="ImgUploadTwo" Source="./Images/microLessonSystem_1.png" Visibility="Visible"/>
|
|
249
|
+ <TextBlock Text="我的" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
250
|
+ </StackPanel>
|
|
251
|
+ </Button>
|
|
252
|
+ <Button Cursor="Hand" x:Name="btnSetUp" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnSetUp_Click">
|
|
253
|
+ <StackPanel Orientation="Vertical">
|
|
254
|
+ <Image x:Name="ImgSetUp" Source="./Images/microLessonSystem_18.png" Visibility="Visible"/>
|
|
255
|
+ <Image x:Name="ImgSetUpTwo" Source="./Images/microLessonSystem_17.png" Visibility="Collapsed"/>
|
|
256
|
+ <TextBlock Text="设置" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
257
|
+ </StackPanel>
|
|
258
|
+ </Button>
|
|
259
|
+ </StackPanel>
|
235
|
260
|
</Grid>
|
236
|
|
- <!--主内容-->
|
|
261
|
+
|
|
262
|
+ <!--主内容-->
|
237
|
263
|
<Grid Grid.Row="1" x:Name="GridMain" Visibility="Visible">
|
238
|
264
|
<ScrollViewer x:Name="scroMain" VerticalScrollBarVisibility="Visible">
|
239
|
265
|
<Grid x:Name="gridM" Margin="0,0,0,0" Background="#FFFFFF" Visibility="Visible" Height="1780">
|
240
|
266
|
<Grid>
|
241
|
267
|
<Border Grid.Row="1" CornerRadius="5">
|
242
|
268
|
<Grid x:Name="IMG" Margin="0,0,0,0">
|
243
|
|
- <Grid.Resources>
|
244
|
|
- <TransformGroup x:Key="Imageview">
|
245
|
|
- <ScaleTransform/>
|
246
|
|
- <TranslateTransform/>
|
247
|
|
- </TransformGroup>
|
248
|
|
- </Grid.Resources>
|
249
|
|
- <!--图片表框 -->
|
|
269
|
+ <Grid.Resources>
|
|
270
|
+ <TransformGroup x:Key="Imageview">
|
|
271
|
+ <ScaleTransform/>
|
|
272
|
+ <TranslateTransform/>
|
|
273
|
+ </TransformGroup>
|
|
274
|
+ </Grid.Resources>
|
|
275
|
+
|
|
276
|
+ <!--<ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" Cursor="SizeAll"
|
|
277
|
+ Margin="0,0,0,0" Focusable="False" x:Name="BackFrame">
|
|
278
|
+ <ContentControl MouseLeftButtonDown="IMG1_MouseLeftButtonDown"
|
|
279
|
+ MouseLeftButtonUp="IMG1_MouseLeftButtonUp"
|
|
280
|
+ MouseMove="IMG1_MouseMove"
|
|
281
|
+ MouseWheel="IMG1_MouseWheel" >
|
|
282
|
+ </ContentControl>
|
|
283
|
+ </ScrollViewer>-->
|
|
284
|
+ <!--图片表框 -->
|
250
|
285
|
<Rectangle x:Name="RectImgBorder" Cursor="SizeAll" Fill="#00000000" HorizontalAlignment="Left" Stroke="#2D8CF0" VerticalAlignment="Top" Width="300" Height="300" Visibility="Hidden" Margin="373,175,0,0" StrokeThickness="4" StrokeDashArray="4 4" SnapsToDevicePixels="True"/>
|
251
|
286
|
<Image Name="imgCanvas" Height="0" VerticalAlignment="Top" HorizontalAlignment="Left" Stretch="Fill" MouseDown="PicEMap_MouseDown" RenderTransform="{StaticResource Imageview}" MouseRightButtonDown="imgCanvas_MouseRightButtonDown" MouseLeftButtonDown="imgCanvas_MouseLeftButtonDown" Focusable="True" MouseMove="imgCanvas_MouseMove" MouseUp="imgCanvas_MouseUp"/>
|
252
|
287
|
<!--四个点 -->
|
|
@@ -259,9 +294,22 @@
|
259
|
294
|
</Grid>
|
260
|
295
|
</Border>
|
261
|
296
|
</Grid>
|
262
|
|
- <Image x:Name="imgDocumentation" Visibility="Visible"/>
|
263
|
|
- <InkCanvas Grid.Row="0" x:Name="blackboard_canvas" Background="Transparent" Visibility="Collapsed" Grid.ColumnSpan="2" />
|
264
|
|
- </Grid>
|
|
297
|
+ <Image x:Name="imgDocumentation" Visibility="Visible"/>
|
|
298
|
+
|
|
299
|
+ <!--导入图片-->
|
|
300
|
+ <!--<Button Cursor="Hand" x:Name="btnOk" Height="50" Width="50" Content="√" FontSize="26" Background="#2E8CF0" Foreground="#FFFFFF" Click="btnOk_Click" Visibility="Collapsed"/>-->
|
|
301
|
+ <InkCanvas Grid.Row="0" x:Name="blackboard_canvas" Background="Transparent" Visibility="Collapsed" Grid.ColumnSpan="2" />
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+ <!--摄像头-->
|
|
305
|
+ <!--<wfi:WindowsFormsHost Grid.Row="0" Grid.Column="1" x:Name="wfhCamera" Height="124" Width="172" HorizontalAlignment="Right" Margin="0,10,30.10,0" VerticalAlignment="Top">
|
|
306
|
+ <aforge:VideoSourcePlayer x:Name="player" Height="124" Width="172" />
|
|
307
|
+ </wfi:WindowsFormsHost>-->
|
|
308
|
+ <!--<Image x:Name="imgLoad"
|
|
309
|
+ Width="300"
|
|
310
|
+ Height="300"
|
|
311
|
+ gifLib:ImageBehavior.AnimatedSource="./Images/img_load.gif" VerticalAlignment="Top" Margin="0,200,0,0" Visibility="Visible"/>-->
|
|
312
|
+ </Grid>
|
265
|
313
|
</ScrollViewer>
|
266
|
314
|
<Image x:Name="imgPlayerLeft" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Left" Margin="10,7,10,10" VerticalAlignment="Top" Visibility="Collapsed"/>
|
267
|
315
|
<Image x:Name="imgPlayerRight" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Right" Margin="10,7,26,10" VerticalAlignment="Top" Visibility="Collapsed"/>
|
|
@@ -271,7 +319,8 @@
|
271
|
319
|
<Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,16,0"/>
|
272
|
320
|
<Label Content="" Grid.Column="0" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="1,0,0,0"/>
|
273
|
321
|
<Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,16,0"/>
|
274
|
|
- </Grid>
|
|
322
|
+ <!--<TextBlock x:Name="txbTime" Text="123456" FontSize="20" Foreground="#000000" Margin="0,0,0,10" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>-->
|
|
323
|
+ </Grid>
|
275
|
324
|
<!--页码-->
|
276
|
325
|
<Grid Grid.Row="1" x:Name="gridPage" Visibility="Collapsed">
|
277
|
326
|
<StackPanel Grid.Row="0" Orientation="Horizontal" Background="Transparent" Width="180" HorizontalAlignment="Center"
|