Преглед изворни кода

zhao:1解决第二次导入和截图录屏闪退问题 2增加视频大小比特

tags/录制修改前
耀 пре 4 година
родитељ
комит
b08f1048b8

+ 53
- 11
Common/system/BlackboardNew.cs Прегледај датотеку

@@ -16,12 +16,22 @@ namespace Common.system
16 16
         Pen = 1,
17 17
         Erase = 2
18 18
     };
19
-
19
+    /// <summary>
20
+    /// 画板线模型
21
+    /// </summary>
20 22
     internal class ZBBPage
21 23
     {
24
+        /// <summary>
25
+        /// 线
26
+        /// </summary>
22 27
         public List<ZBBPageStep> lines { get; set; }
28
+        /// <summary>
29
+        /// 历史记录
30
+        /// </summary>
23 31
         public List<ZBBPageStep> lines_histoty { get; set; }
24
-
32
+        /// <summary>
33
+        /// 画板模型
34
+        /// </summary>
25 35
         public ZBBPage()
26 36
         {
27 37
             lines = new List<ZBBPageStep>();
@@ -47,13 +57,26 @@ namespace Common.system
47 57
         private InkCanvas m_canvas;
48 58
 
49 59
         //private ZPenType type = ZPenType.Pen;
60
+        /// <summary>
61
+        /// 当前页索引
62
+        /// </summary>
50 63
         private int pagenum = 0;
51
-
64
+        /// <summary>
65
+        /// 橡皮大小
66
+        /// </summary>
52 67
         private readonly int erasesize = 64;
68
+        /// <summary>
69
+        /// 笔粗细
70
+        /// </summary>
53 71
         private readonly int pensize = 3;
54 72
         private int undoOrRedo = 0; //是否在进行撤销恢复操作
73
+        /// <summary>
74
+        /// 笔颜色
75
+        /// </summary>
55 76
         private Color pencolor;
56
-
77
+        /// <summary>
78
+        /// 所有画板线
79
+        /// </summary>
57 80
         private readonly List<ZBBPage> strokes_page_all = new List<ZBBPage>();
58 81
 
59 82
         // 添加这个变量是因为在用橡皮擦时 一次操作会触发多次StrokesChanged回掉 这里是把多次回掉合并在一起
@@ -118,13 +141,28 @@ namespace Common.system
118 141
                     strokes_page_all.Add(pagetemp);
119 142
                 }
120 143
 
121
-
122
-                ZBBPage page = strokes_page_all[pagenum];
123
-                if (page != null)
144
+                try
124 145
                 {
125
-                    step.lines_curr.Add(m_canvas.Strokes);
126
-                    page.lines.Add(step);
127
-                    step = null;
146
+                    ZBBPage page = strokes_page_all[pagenum];
147
+                    if (page != null)
148
+                    {
149
+                        step.lines_curr.Add(m_canvas.Strokes);
150
+                        page.lines.Add(step);
151
+                        step = null;
152
+                    }
153
+                }
154
+                catch (Exception ex)
155
+                {
156
+                    if (strokes_page_all != null)
157
+                    {
158
+                        if (strokes_page_all.Count == 0)
159
+                        {
160
+                            ZBBPage pagetemp = new ZBBPage();
161
+                            pagetemp.lines.Add(new ZBBPageStep());
162
+                            strokes_page_all.Add(pagetemp);
163
+                        }
164
+                    }
165
+                    LogHelper.WriteErrLog("【画板】(Canvas_MouseUp)添加失败,strokes_page_all为0," + ex.Message, ex);
128 166
                 }
129 167
             }
130 168
         }
@@ -261,12 +299,16 @@ namespace Common.system
261 299
 
262 300
 
263 301
         }
264
-
302
+        /// <summary>
303
+        /// 翻页
304
+        /// </summary>
305
+        /// <param name="mpagenum"></param>
265 306
         public void changepage(int mpagenum)
266 307
         {
267 308
             if (pagenum != mpagenum)
268 309
             {
269 310
                 pagenum = mpagenum;
311
+                //新增页
270 312
                 if (pagenum >= strokes_page_all.Count)
271 313
                 {
272 314
                     int numadd = pagenum - strokes_page_all.Count + 1;

+ 1
- 0
XHWK.WKTool/FileDirectoryWindow.xaml.cs Прегледај датотеку

@@ -146,6 +146,7 @@ namespace XHWK.WKTool
146 146
                             if (string.IsNullOrWhiteSpace(videoinfo.VideoSize) || videoinfo.VideoSize == "0 MB")
147 147
                             {
148 148
                                 videoinfo.VideoSize = FileToolsCommon.GetFileSizeByMB(videoinfo.VideoPath).ToString() + " MB";
149
+                                videoinfo.VideoSizebyte = FileToolsCommon.GetFileSize(videoinfo.VideoPath);
149 150
                             }
150 151
                             model_VideoList.Add(videoinfo);
151 152
                         }

+ 336
- 334
XHWK.WKTool/XHMicroLessonSystemWindow.xaml Прегледај датотеку

@@ -140,141 +140,143 @@
140 140
     </Window.BorderBrush>
141 141
 
142 142
 
143
-        <Grid x:Name="GridContent" Height="1030" Width="1276" >
143
+    <Grid x:Name="GridContent" Height="1030" Width="1276" >
144 144
 
145
-            <!--分3行-->
145
+        <!--分3行-->
146
+        <Grid.RowDefinitions>
147
+            <RowDefinition Height="10*"/>
148
+            <RowDefinition Height="85*"/>
149
+            <RowDefinition Height="5*"/>
150
+        </Grid.RowDefinitions>
151
+        <Grid Grid.Row="0" Background="#2D8CF0" MouseLeftButtonDown="Window_MouseLeftButtonDown" Margin="0,0,0,0">
146 152
             <Grid.RowDefinitions>
147
-                <RowDefinition Height="10*"/>
148
-                <RowDefinition Height="85*"/>
149
-                <RowDefinition Height="5*"/>
153
+                <RowDefinition Height="auto"/>
154
+                <RowDefinition Height="auto"/>
150 155
             </Grid.RowDefinitions>
151
-            <Grid Grid.Row="0" Background="#2D8CF0" MouseLeftButtonDown="Window_MouseLeftButtonDown" Margin="0,0,0,0">
152
-                <Grid.RowDefinitions>
153
-                    <RowDefinition Height="auto"/>
154
-                    <RowDefinition Height="auto"/>
155
-                </Grid.RowDefinitions>
156
-                <!--第一行-->
157
-                <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="10,2,10,0">
158
-                    <Image Source="./Images/microLessonSystem_0.png"/>
159
-                    <TextBlock Text="星火微课系统" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
160
-                </StackPanel>
156
+            <!--第一行-->
157
+            <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="10,2,10,0">
158
+                <Image Source="./Images/microLessonSystem_0.png"/>
159
+                <TextBlock Text="星火微课系统" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
160
+            </StackPanel>
161 161
 
162
-                <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,2,20,0">
163
-                    <Button Cursor="Hand" x:Name="btnLoginType" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,10,0" Click="BtnLoginType_Click">
164
-                        <StackPanel Orientation="Horizontal">
165
-                            <Image Source="./Images/microLessonSystem_9.png"/>
166
-                            <TextBlock x:Name="txbLoginType" Text="未登录" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
167
-                        </StackPanel>
168
-                    </Button>
169
-                    <Button Cursor="Hand" x:Name="btnShrink" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnShrink_Click" Margin="8,0,8,0">
170
-                        <Image Source="./Images/microLessonSystem_19.png"/>
171
-                    </Button>
172
-                    <!--<Button Cursor="Hand" x:Name="btnEnlarge" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="8,0,8,0">
162
+            <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,2,20,0">
163
+                <Button Cursor="Hand" x:Name="btnLoginType" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,10,0" Click="BtnLoginType_Click">
164
+                    <StackPanel Orientation="Horizontal">
165
+                        <Image Source="./Images/microLessonSystem_9.png"/>
166
+                        <TextBlock x:Name="txbLoginType" Text="未登录" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
167
+                    </StackPanel>
168
+                </Button>
169
+                <Button Cursor="Hand" x:Name="btnShrink" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnShrink_Click" Margin="8,0,8,0">
170
+                    <Image Source="./Images/microLessonSystem_19.png"/>
171
+                </Button>
172
+                <!--<Button Cursor="Hand" x:Name="btnEnlarge" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="8,0,8,0">
173 173
                         <Image Source="./Images/microLessonSystem_8.png"/>
174 174
                     </Button>-->
175
-                    <Button Cursor="Hand" x:Name="btnDown" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnDown_Click" >
176
-                        <Image Source="./Images/microLessonSystem_10.png"/>
177
-                    </Button>
178
-                </StackPanel>
179
-          
175
+                <Button Cursor="Hand" x:Name="btnDown" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnDown_Click" >
176
+                    <Image Source="./Images/microLessonSystem_10.png"/>
177
+                </Button>
178
+            </StackPanel>
180 179
 
181
-                <!--第二行-->
182
-          
183
-                <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10,6,0,0">
184
-                    <Button Cursor="Hand" x:Name="btnScreenRecording" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnScreenRecording_Click" Margin="30,0,0,0">
185
-                        <StackPanel Orientation="Vertical">
186
-                            <Image x:Name="ImgScreenRecording" Source="./Images/microLessonSystem_2.png"/>
187
-                            <Image x:Name="ImgScreenRecordingTwo" Source="./Images/microLessonSystem_3.png" Visibility="Collapsed"/>
188
-                            <TextBlock x:Name="TxbRecordScreenWord" Text="录屏" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
189
-                        </StackPanel>
190
-                    </Button>
191
-                    <Button Cursor="Hand" x:Name="btnScreenshot" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="30,0,0,0" Click="BtnScreenshot_Click">
192
-                        <StackPanel Orientation="Vertical">
193
-                            <Image x:Name="ImgScreenshot" Source="./Images/microLessonSystem_12.png"/>
194
-                            <Image x:Name="ImgScreenshotTwo" Source="./Images/microLessonSystem_11.png" Visibility="Collapsed"/>
195
-                            <TextBlock Text="截图" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
196
-                        </StackPanel>
197
-                    </Button>
198
-                    <Button Cursor="Hand" x:Name="btnImport" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnImport_Click" Margin="30,0,0,0">
199
-                        <StackPanel Orientation="Vertical">
200
-                            <Image x:Name="ImgImport" Source="./Images/microLessonSystem_6.png"/>
201
-                            <Image x:Name="ImgImportTwo" Source="./Images/microLessonSystem_7.png" Visibility="Collapsed"/>
202
-                            <TextBlock Text="导入" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
203
-                        </StackPanel>
204
-                    </Button>
205
-                    <Button Cursor="Hand" x:Name="BtnRecord" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="100,0,0,0" Click="BtnRecord_Click">
206
-                        <StackPanel Orientation="Vertical">
207
-                            <Image x:Name="ImgRecord" Source="./Images/microLessonSystem_14.png"/>
208
-                            <Image x:Name="ImgRecordTwo" Source="./Images/microLessonSystem_13.png" Visibility="Collapsed"/>
209
-                            <TextBlock x:Name="TxbRecordingWord" Text="录制" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
210
-                        </StackPanel>
211
-                    </Button>
212
-                    <Button Cursor="Hand" x:Name="btnStop" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnStop_Click" Margin="30,0,0,0">
213
-                        <StackPanel Orientation="Vertical">
214
-                            <Image x:Name="ImgStop" Source="./Images/microLessonSystem_21.png"/>
215
-                            <Image x:Name="ImgStopTwo" Source="./Images/microLessonSystem_20.png" Visibility="Collapsed"/>
216
-                            <TextBlock Text="停止" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
217
-                        </StackPanel>
218
-                    </Button>
219
-                    <TextBlock x:Name="txbTime" Text="" FontSize="20" Foreground="#FFFFFF" Margin="20,20,0,0"/>
220
-                    <TextBlock x:Name="txbType" Text="" FontSize="20" Foreground="#FFFFFF" Margin="20,20,0,0"/>
221
-                </StackPanel>
222
-                <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,10,10,0">
223
-                    <Button Cursor="Hand" x:Name="btnAdd" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnAdd_Click" Margin="0,0,30,0">
224
-                        <StackPanel Orientation="Vertical">
225
-                            <Image x:Name="ImgAdd" Source="./Images/microLessonSystem_25.png" Visibility="Visible"/>
226
-                            <Image x:Name="ImgAddTwo" Source="./Images/microLessonSystem_24.png" Visibility="Collapsed"/>
227
-                            <TextBlock Text="增加" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
228
-                        </StackPanel>
229
-                    </Button>
230
-                    <Button Cursor="Hand" x:Name="btnPrint" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnPrint_Click">
231
-                        <StackPanel Orientation="Vertical">
232
-                            <Image x:Name="ImgPrint" Source="./Images/microLessonSystem_4.png" Visibility="Collapsed"/>
233
-                            <Image x:Name="ImgPrintTwo" Source="./Images/microLessonSystem_5.png" Visibility="Visible"/>
234
-                            <TextBlock Text="打印" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
235
-                        </StackPanel>
236
-                    </Button>
237
-                    <!--<Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnUpload_Click" Margin="0,0,30,0">
180
+
181
+            <!--第二行-->
182
+
183
+            <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10,6,0,0" HorizontalAlignment="Left">
184
+                <Button Cursor="Hand" x:Name="btnScreenRecording" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnScreenRecording_Click" Margin="30,0,0,0">
185
+                    <StackPanel Orientation="Vertical">
186
+                        <Image x:Name="ImgScreenRecording" Source="./Images/microLessonSystem_2.png"/>
187
+                        <Image x:Name="ImgScreenRecordingTwo" Source="./Images/microLessonSystem_3.png" Visibility="Collapsed"/>
188
+                        <TextBlock x:Name="TxbRecordScreenWord" Text="录屏" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
189
+                    </StackPanel>
190
+                </Button>
191
+                <Button Cursor="Hand" x:Name="btnScreenshot" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="30,0,0,0" Click="BtnScreenshot_Click">
192
+                    <StackPanel Orientation="Vertical">
193
+                        <Image x:Name="ImgScreenshot" Source="./Images/microLessonSystem_12.png"/>
194
+                        <Image x:Name="ImgScreenshotTwo" Source="./Images/microLessonSystem_11.png" Visibility="Collapsed"/>
195
+                        <TextBlock Text="截图" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
196
+                    </StackPanel>
197
+                </Button>
198
+                <Button Cursor="Hand" x:Name="btnImport" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnImport_Click" Margin="30,0,0,0">
199
+                    <StackPanel Orientation="Vertical">
200
+                        <Image x:Name="ImgImport" Source="./Images/microLessonSystem_6.png"/>
201
+                        <Image x:Name="ImgImportTwo" Source="./Images/microLessonSystem_7.png" Visibility="Collapsed"/>
202
+                        <TextBlock Text="导入" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
203
+                    </StackPanel>
204
+                </Button>
205
+                <Button Cursor="Hand" x:Name="BtnRecord" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="100,0,0,0" Click="BtnRecord_Click">
206
+                    <StackPanel Orientation="Vertical">
207
+                        <Image x:Name="ImgRecord" Source="./Images/microLessonSystem_14.png"/>
208
+                        <Image x:Name="ImgRecordTwo" Source="./Images/microLessonSystem_13.png" Visibility="Collapsed"/>
209
+                        <TextBlock x:Name="TxbRecordingWord" Text="录制" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
210
+                    </StackPanel>
211
+                </Button>
212
+                <Button Cursor="Hand" x:Name="btnStop" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnStop_Click" Margin="30,0,0,0">
213
+                    <StackPanel Orientation="Vertical">
214
+                        <Image x:Name="ImgStop" Source="./Images/microLessonSystem_21.png"/>
215
+                        <Image x:Name="ImgStopTwo" Source="./Images/microLessonSystem_20.png" Visibility="Collapsed"/>
216
+                        <TextBlock Text="停止" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
217
+                    </StackPanel>
218
+                </Button>
219
+                <TextBlock x:Name="txbTime" Text="" FontSize="20" Foreground="#FFFFFF" Margin="20,20,0,0"/>
220
+            </StackPanel>
221
+            <StackPanel Grid.Row="1" HorizontalAlignment="Center">
222
+                <TextBlock x:Name="txbType" Text="" FontSize="20" Foreground="#FFFFFF" Margin="0,25,0,0"/>
223
+            </StackPanel>
224
+            <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,10,10,0">
225
+                <Button Cursor="Hand" x:Name="btnAdd" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnAdd_Click" Margin="0,0,30,0">
226
+                    <StackPanel Orientation="Vertical">
227
+                        <Image x:Name="ImgAdd" Source="./Images/microLessonSystem_25.png" Visibility="Visible"/>
228
+                        <Image x:Name="ImgAddTwo" Source="./Images/microLessonSystem_24.png" Visibility="Collapsed"/>
229
+                        <TextBlock Text="增加" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
230
+                    </StackPanel>
231
+                </Button>
232
+                <Button Cursor="Hand" x:Name="btnPrint" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnPrint_Click">
233
+                    <StackPanel Orientation="Vertical">
234
+                        <Image x:Name="ImgPrint" Source="./Images/microLessonSystem_4.png" Visibility="Collapsed"/>
235
+                        <Image x:Name="ImgPrintTwo" Source="./Images/microLessonSystem_5.png" Visibility="Visible"/>
236
+                        <TextBlock Text="打印" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
237
+                    </StackPanel>
238
+                </Button>
239
+                <!--<Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnUpload_Click" Margin="0,0,30,0">
238 240
                         <StackPanel Orientation="Vertical">
239 241
                             <Image x:Name="ImgUpload" Source="./Images/microLessonSystem_15.png" Visibility="Collapsed"/>
240 242
                             <Image x:Name="ImgUploadTwo" Source="./Images/microLessonSystem_16.png" Visibility="Visible"/>
241 243
                             <TextBlock Text="上传" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
242 244
                         </StackPanel>
243 245
                     </Button>-->
244
-                    <Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnUpload_Click">
245
-                        <StackPanel Orientation="Vertical">
246
-                            <Image x:Name="ImgUpload" Source="./Images/microLessonSystem_22.png" Visibility="Collapsed"/>
247
-                            <Image x:Name="ImgUploadTwo" Source="./Images/microLessonSystem_1.png" Visibility="Visible"/>
248
-                            <TextBlock Text="我的" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
249
-                        </StackPanel>
250
-                    </Button>
251
-                    <Button Cursor="Hand" x:Name="btnSetUp" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnSetUp_Click">
252
-                        <StackPanel Orientation="Vertical">
253
-                            <Image x:Name="ImgSetUp" Source="./Images/microLessonSystem_18.png" Visibility="Visible"/>
254
-                            <Image x:Name="ImgSetUpTwo" Source="./Images/microLessonSystem_17.png" Visibility="Collapsed"/>
255
-                            <TextBlock Text="设置" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
256
-                        </StackPanel>
257
-                    </Button>
258
-                </StackPanel>
246
+                <Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnUpload_Click">
247
+                    <StackPanel Orientation="Vertical">
248
+                        <Image x:Name="ImgUpload" Source="./Images/microLessonSystem_22.png" Visibility="Collapsed"/>
249
+                        <Image x:Name="ImgUploadTwo" Source="./Images/microLessonSystem_1.png" Visibility="Visible"/>
250
+                        <TextBlock Text="我的" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
251
+                    </StackPanel>
252
+                </Button>
253
+                <Button Cursor="Hand" x:Name="btnSetUp" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnSetUp_Click">
254
+                    <StackPanel Orientation="Vertical">
255
+                        <Image x:Name="ImgSetUp" Source="./Images/microLessonSystem_18.png" Visibility="Visible"/>
256
+                        <Image x:Name="ImgSetUpTwo" Source="./Images/microLessonSystem_17.png" Visibility="Collapsed"/>
257
+                        <TextBlock Text="设置" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
258
+                    </StackPanel>
259
+                </Button>
260
+            </StackPanel>
259 261
 
260
-      
261
-            </Grid>
262 262
 
263
-            <!--主内容-->
264
-            <Grid Grid.Row="1" x:Name="GridMain" Visibility="Visible">
265
-                <ScrollViewer x:Name="scroMain" VerticalScrollBarVisibility="Visible">
266
-                    <Grid x:Name="gridM"  Margin="0,0,0,0" Background="#FFFFFF" Visibility="Visible" Height="1780">
267
-                        <Grid>
268
-                            <Border Grid.Row="1"  CornerRadius="5">
269
-                                <Grid x:Name="IMG" Margin="0,0,0,0">
270
-                                    <Grid.Resources>
271
-                                        <TransformGroup x:Key="Imageview">
272
-                                            <ScaleTransform/>
273
-                                            <TranslateTransform/>
274
-                                        </TransformGroup>
275
-                                    </Grid.Resources>
263
+        </Grid>
264
+
265
+        <!--主内容-->
266
+        <Grid Grid.Row="1" x:Name="GridMain" Visibility="Visible">
267
+            <ScrollViewer x:Name="scroMain" VerticalScrollBarVisibility="Visible">
268
+                <Grid x:Name="gridM"  Margin="0,0,0,0" Background="#FFFFFF" Visibility="Visible" Height="1780">
269
+                    <Grid>
270
+                        <Border Grid.Row="1"  CornerRadius="5">
271
+                            <Grid x:Name="IMG" Margin="0,0,0,0">
272
+                                <Grid.Resources>
273
+                                    <TransformGroup x:Key="Imageview">
274
+                                        <ScaleTransform/>
275
+                                        <TranslateTransform/>
276
+                                    </TransformGroup>
277
+                                </Grid.Resources>
276 278
 
277
-                                    <!--<ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled"   Cursor="SizeAll"
279
+                                <!--<ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled"   Cursor="SizeAll"
278 280
                   Margin="0,0,0,0" Focusable="False" x:Name="BackFrame">
279 281
                                             <ContentControl  MouseLeftButtonDown="IMG1_MouseLeftButtonDown"   
280 282
                              MouseLeftButtonUp="IMG1_MouseLeftButtonUp"
@@ -282,159 +284,133 @@
282 284
                              MouseWheel="IMG1_MouseWheel" >
283 285
                                             </ContentControl>
284 286
                                         </ScrollViewer>-->
285
-                                    <!--图片表框 -->
286
-                                    <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"/>
287
-                                    <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"/>
288
-                                    <!--四个点 -->
289
-                                    <Canvas>
290
-                                        <Thumb x:Name="RectLeftUp" Cursor="SizeNWSE"  HorizontalAlignment="Left" Height="20"  VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="314" Canvas.Top="157" Background="White" BorderBrush="#2D8CF0" BorderThickness="2"  DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
291
-                                        <Thumb x:Name="RectRightUp" Cursor="SizeNESW"  HorizontalAlignment="Left" Height="20"  VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="775" Canvas.Top="157" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
292
-                                        <Thumb x:Name="RectLeftDown" Cursor="SizeNESW"  HorizontalAlignment="Left" Height="20"  VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="314" Canvas.Top="508" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
293
-                                        <Thumb x:Name="RectRightDown" Cursor="SizeNWSE"  HorizontalAlignment="Left" Height="20"  VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="775" Canvas.Top="508" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
294
-                                    </Canvas>
295
-                                </Grid>
296
-                            </Border>
297
-                        </Grid>
298
-                        <Image x:Name="imgDocumentation" Visibility="Visible"/>
287
+                                <!--图片表框 -->
288
+                                <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"/>
289
+                                <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"/>
290
+                                <!--四个点 -->
291
+                                <Canvas>
292
+                                    <Thumb x:Name="RectLeftUp" Cursor="SizeNWSE"  HorizontalAlignment="Left" Height="20"  VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="314" Canvas.Top="157" Background="White" BorderBrush="#2D8CF0" BorderThickness="2"  DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
293
+                                    <Thumb x:Name="RectRightUp" Cursor="SizeNESW"  HorizontalAlignment="Left" Height="20"  VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="775" Canvas.Top="157" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
294
+                                    <Thumb x:Name="RectLeftDown" Cursor="SizeNESW"  HorizontalAlignment="Left" Height="20"  VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="314" Canvas.Top="508" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
295
+                                    <Thumb x:Name="RectRightDown" Cursor="SizeNWSE"  HorizontalAlignment="Left" Height="20"  VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="775" Canvas.Top="508" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
296
+                                </Canvas>
297
+                            </Grid>
298
+                        </Border>
299
+                    </Grid>
300
+                    <Image x:Name="imgDocumentation" Visibility="Visible"/>
299 301
 
300
-                        <!--导入图片-->
301
-                        <!--<Button Cursor="Hand" x:Name="btnOk" Height="50" Width="50" Content="√" FontSize="26" Background="#2E8CF0" Foreground="#FFFFFF" Click="btnOk_Click" Visibility="Collapsed"/>-->
302
-                        <InkCanvas Grid.Row="0" x:Name="blackboard_canvas"  Background="Transparent" Visibility="Collapsed" Grid.ColumnSpan="2" />
302
+                    <!--导入图片-->
303
+                    <!--<Button Cursor="Hand" x:Name="btnOk" Height="50" Width="50" Content="√" FontSize="26" Background="#2E8CF0" Foreground="#FFFFFF" Click="btnOk_Click" Visibility="Collapsed"/>-->
304
+                    <InkCanvas Grid.Row="0" x:Name="blackboard_canvas"  Background="Transparent" Visibility="Collapsed" Grid.ColumnSpan="2" />
303 305
 
304 306
 
305
-                        <!--摄像头-->
306
-                        <!--<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">
307
+                    <!--摄像头-->
308
+                    <!--<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">
307 309
                     <aforge:VideoSourcePlayer x:Name="player" Height="124" Width="172"  />
308 310
                 </wfi:WindowsFormsHost>-->
309
-                        <!--<Image x:Name="imgLoad"
311
+                    <!--<Image x:Name="imgLoad"
310 312
                     Width="300"
311 313
                     Height="300"
312 314
                     gifLib:ImageBehavior.AnimatedSource="./Images/img_load.gif" VerticalAlignment="Top" Margin="0,200,0,0" Visibility="Visible"/>-->
313
-                    </Grid>
314
-                </ScrollViewer>
315
-                <Image x:Name="imgPlayerLeft" Width="172" Height="124" Source="./Images/microLessonSystem_17.png"  HorizontalAlignment="Left"  Margin="10,7,10,10" VerticalAlignment="Top" Visibility="Collapsed"/>
316
-                <Image x:Name="imgPlayerRight" Width="172" Height="124" Source="./Images/microLessonSystem_17.png"  HorizontalAlignment="Right"  Margin="10,7,26,10" VerticalAlignment="Top" Visibility="Collapsed"/>
317
-                <Image x:Name="imgPlayerLeftUnder" Width="172" Height="124" Source="./Images/microLessonSystem_17.png"  HorizontalAlignment="Left"  Margin="10,7,10,10" VerticalAlignment="Bottom" Visibility="Collapsed"/>
318
-                <Image x:Name="imgPlayerRightUnder" Width="172" Height="124" Source="./Images/microLessonSystem_17.png"  HorizontalAlignment="Right" Margin="10,7,26,10" VerticalAlignment="Bottom" Visibility="Collapsed"/>
319
-                <Label Content="" Grid.Column="0" Height="2" Width="2" HorizontalAlignment="Left"  VerticalAlignment="Top" Background="#FF0F0F0F" Margin="1,0,0,0"/>
320
-                <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,16,0"/>
321
-                <Label Content="" Grid.Column="0" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="1,0,0,0"/>
322
-                <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,16,0"/>
323
-            </Grid>
324
-            <!--页码-->
325
-            <Grid Grid.Row="1" x:Name="gridPage" Visibility="Collapsed">
326
-                <StackPanel Grid.Row="0" Orientation="Horizontal" Background="Transparent" Width="180" HorizontalAlignment="Center"
315
+                </Grid>
316
+            </ScrollViewer>
317
+            <Image x:Name="imgPlayerLeft" Width="172" Height="124" Source="./Images/microLessonSystem_17.png"  HorizontalAlignment="Left"  Margin="10,7,10,10" VerticalAlignment="Top" Visibility="Collapsed"/>
318
+            <Image x:Name="imgPlayerRight" Width="172" Height="124" Source="./Images/microLessonSystem_17.png"  HorizontalAlignment="Right"  Margin="10,7,26,10" VerticalAlignment="Top" Visibility="Collapsed"/>
319
+            <Image x:Name="imgPlayerLeftUnder" Width="172" Height="124" Source="./Images/microLessonSystem_17.png"  HorizontalAlignment="Left"  Margin="10,7,10,10" VerticalAlignment="Bottom" Visibility="Collapsed"/>
320
+            <Image x:Name="imgPlayerRightUnder" Width="172" Height="124" Source="./Images/microLessonSystem_17.png"  HorizontalAlignment="Right" Margin="10,7,26,10" VerticalAlignment="Bottom" Visibility="Collapsed"/>
321
+            <Label Content="" Grid.Column="0" Height="2" Width="2" HorizontalAlignment="Left"  VerticalAlignment="Top" Background="#FF0F0F0F" Margin="1,0,0,0"/>
322
+            <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,16,0"/>
323
+            <Label Content="" Grid.Column="0" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="1,0,0,0"/>
324
+            <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,16,0"/>
325
+        </Grid>
326
+        <!--页码-->
327
+        <Grid Grid.Row="1" x:Name="gridPage" Visibility="Collapsed">
328
+            <StackPanel Grid.Row="0" Orientation="Horizontal" Background="Transparent" Width="180" HorizontalAlignment="Center"
327 329
             Height="30" Margin="0,0,0,0" Grid.Column="1" VerticalAlignment="Bottom">
328
-                    <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
330
+                <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
329 331
                     x:Name="last_button"
330 332
                     Width="60" Height="20"
331 333
                     Click="last_button_Click">
332
-                        <Button.Content>
333
-                            <StackPanel>
334
-                                <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
335
-                            </StackPanel>
336
-                        </Button.Content>
337
-                    </Button>
338
-                    <Grid Width="60"  Background="Transparent">
339
-                        <Grid.RowDefinitions>
340
-                            <RowDefinition Height="311*"/>
341
-                            <RowDefinition Height="483*"/>
342
-                        </Grid.RowDefinitions>
343
-                        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,-12,0,0" Grid.Row="1"  Background="Transparent">
344
-                            <StackPanel HorizontalAlignment="Center" Orientation="Horizontal"  Background="Transparent">
345
-                                <TextBlock x:Name="txbCurrpage" Text="{Binding currpage}" TextAlignment="Center" FontSize="15"/>
346
-                                <TextBlock Text="/" TextAlignment="Center" FontSize="15"/>
347
-                                <TextBlock Text="{Binding pagenum}" TextAlignment="Center" FontSize="15"/>
348
-                            </StackPanel>
334
+                    <Button.Content>
335
+                        <StackPanel>
336
+                            <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
349 337
                         </StackPanel>
350
-                    </Grid>
351
-                    <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
338
+                    </Button.Content>
339
+                </Button>
340
+                <Grid Width="60"  Background="Transparent">
341
+                    <Grid.RowDefinitions>
342
+                        <RowDefinition Height="311*"/>
343
+                        <RowDefinition Height="483*"/>
344
+                    </Grid.RowDefinitions>
345
+                    <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,-12,0,0" Grid.Row="1"  Background="Transparent">
346
+                        <StackPanel HorizontalAlignment="Center" Orientation="Horizontal"  Background="Transparent">
347
+                            <TextBlock x:Name="txbCurrpage" Text="{Binding currpage}" TextAlignment="Center" FontSize="15"/>
348
+                            <TextBlock Text="/" TextAlignment="Center" FontSize="15"/>
349
+                            <TextBlock Text="{Binding pagenum}" TextAlignment="Center" FontSize="15"/>
350
+                        </StackPanel>
351
+                    </StackPanel>
352
+                </Grid>
353
+                <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
352 354
                     x:Name="next_btn"  Background="Transparent"
353 355
                     Width="60" Height="20"
354 356
                     Click="next_btn_Click">
355
-                        <Button.Content>
356
-                            <StackPanel>
357
-                                <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
358
-                            </StackPanel>
359
-                        </Button.Content>
360
-                    </Button>
361
-                </StackPanel>
362
-            </Grid>
363
-            <!--设置-->
364
-            <Grid Grid.Row="1" x:Name="gridSetUp"  Background="#FFFFFF" Visibility="Collapsed" Width="1276">
365
-                <Grid.RowDefinitions>
366
-                    <RowDefinition Height="90"/>
367
-                    <RowDefinition Height="70"/>
368
-                    <RowDefinition Height="50"/>
369
-                    <RowDefinition Height="70"/>
370
-                    <RowDefinition Height="70"/>
371
-                    <RowDefinition Height="70"/>
372
-                    <RowDefinition Height="70"/>
373
-                    <RowDefinition Height="*"/>
374
-                </Grid.RowDefinitions>
375
-                <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
376
-                    <TextBlock Text="   点阵笔" FontSize="16" Foreground="#2D8CF0" Width="80"/>
377
-                    <TextBlock x:Name="txbNotConnecteds"  Text="未连接" FontSize="14" Foreground="#333333" Padding="10,0,0,0"/>
378
-                </StackPanel>
379
-                <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
380
-                    <TextBlock Text="视频格式" FontSize="16" Foreground="#2D8CF0" Width="80"/>
381
-                    <RadioButton x:Name="rbnMP4" Cursor="Hand" Content="MP4" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
382
-                    <RadioButton x:Name="rbnFLV" Cursor="Hand" Content="FLV" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
383
-                    <RadioButton x:Name="rbnAVI" Cursor="Hand" Content="AVI" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
384
-                </StackPanel>
385
-                <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
386
-                    <TextBlock Text="头像位置" FontSize="16" Foreground="#2D8CF0" Width="80"/>
387
-                    <RadioButton Cursor="Hand" x:Name="rbnRight" Content="右上" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
388
-                    <RadioButton Cursor="Hand" x:Name="rbnRightUnder" Content="右下" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
389
-                    <RadioButton Cursor="Hand" x:Name="rbnLeft" Content="左上" FontSize="14" Foreground="#333333" Margin="20,2,0,0" />
390
-                    <RadioButton Cursor="Hand" x:Name="rbnLeftUnder" Content="左下" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
391
-                </StackPanel>
392
-                <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0" Visibility="Collapsed">
393
-                    <TextBlock Text="视频声音" FontSize="16" Foreground="#2D8CF0" Width="80"/>
394
-                    <RadioButton x:Name="rbnY" Cursor="Hand" Content="有" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
395
-                    <RadioButton x:Name="rbnN" Cursor="Hand" Content="无" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
396
-                </StackPanel>
397
-                <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
398
-                    <TextBlock x:Name="txbFilePath" Text="文件路径" FontSize="16" Width="80"  Foreground="#2D8CF0" Padding="2,26,10,0"/>
399
-                    <!--输入框-->
400
-                    <Border Background="#CDD6E0" Width="525" Height="43" CornerRadius="3">
401
-                        <Label x:Name="txbStoragePath" Background="#FFFFFF" Content="D:\" FontSize="16" Foreground="#333333" Padding="5,12,2,2" Width="523" Height="42" BorderBrush="{x:Null}" BorderThickness="0"/>
402
-                    </Border>
403
-                    <!--浏览按钮-->
404
-                    <Button Cursor="Hand" x:Name="btnBrowse" Content="浏览" FontSize="18" Width="80" Height="43" Margin="18,0,0,0" Click="BtnBrowse_Click">
405
-                        <Button.Template>
406
-                            <ControlTemplate TargetType="{x:Type Button}">
407
-                                <Border
408
-                                BorderBrush="{TemplateBinding Control.BorderBrush}"
409
-                                BorderThickness="1"
410
-                                CornerRadius="2">
411
-                                    <Border.Background>#EBEFF3</Border.Background>
412
-                                    <ContentPresenter
413
-                                    HorizontalAlignment="Center"
414
-                                    VerticalAlignment="Center"
415
-                                    Content="{TemplateBinding ContentControl.Content}" />
416
-                                </Border>
417
-                            </ControlTemplate>
418
-                        </Button.Template>
419
-                    </Button>
420
-                </StackPanel>
421
-                <StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
422
-                    <TextBlock Text="    版本号" FontSize="16" Width="80" Foreground="#2D8CF0"/>
423
-                    <TextBlock x:Name="txbv" Text="V0.0.0" FontSize="16" Foreground="#333333" Padding="10,0,0,0"/>
424
-                </StackPanel>
425
-                <StackPanel Grid.Row="5" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
426
-                    <TextBlock Text="版权所有" FontSize="16" Width="80" Foreground="#2D8CF0"/>
427
-                    <TextBlock Text="河南星火燎原软件科技有限公司" FontSize="14" Foreground="#333333" Padding="10,0,0,0"/>
428
-                </StackPanel>
429
-                <!--第四行 开始按钮-->
430
-                <Button Cursor="Hand" Grid.Row="6" x:Name="btnSave" Content="保存" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="115" Height="45" Margin="10,0,10,0" Click="BtnSave_Click">
357
+                    <Button.Content>
358
+                        <StackPanel>
359
+                            <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
360
+                        </StackPanel>
361
+                    </Button.Content>
362
+                </Button>
363
+            </StackPanel>
364
+        </Grid>
365
+        <!--设置-->
366
+        <Grid Grid.Row="1" x:Name="gridSetUp"  Background="#FFFFFF" Visibility="Collapsed" Width="1276">
367
+            <Grid.RowDefinitions>
368
+                <RowDefinition Height="90"/>
369
+                <RowDefinition Height="70"/>
370
+                <RowDefinition Height="50"/>
371
+                <RowDefinition Height="70"/>
372
+                <RowDefinition Height="70"/>
373
+                <RowDefinition Height="70"/>
374
+                <RowDefinition Height="70"/>
375
+                <RowDefinition Height="*"/>
376
+            </Grid.RowDefinitions>
377
+            <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
378
+                <TextBlock Text="   点阵笔" FontSize="16" Foreground="#2D8CF0" Width="80"/>
379
+                <TextBlock x:Name="txbNotConnecteds"  Text="未连接" FontSize="14" Foreground="#333333" Padding="10,0,0,0"/>
380
+            </StackPanel>
381
+            <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
382
+                <TextBlock Text="视频格式" FontSize="16" Foreground="#2D8CF0" Width="80"/>
383
+                <RadioButton x:Name="rbnMP4" Cursor="Hand" Content="MP4" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
384
+                <RadioButton x:Name="rbnFLV" Cursor="Hand" Content="FLV" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
385
+                <RadioButton x:Name="rbnAVI" Cursor="Hand" Content="AVI" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
386
+            </StackPanel>
387
+            <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
388
+                <TextBlock Text="头像位置" FontSize="16" Foreground="#2D8CF0" Width="80"/>
389
+                <RadioButton Cursor="Hand" x:Name="rbnRight" Content="右上" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
390
+                <RadioButton Cursor="Hand" x:Name="rbnRightUnder" Content="右下" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
391
+                <RadioButton Cursor="Hand" x:Name="rbnLeft" Content="左上" FontSize="14" Foreground="#333333" Margin="20,2,0,0" />
392
+                <RadioButton Cursor="Hand" x:Name="rbnLeftUnder" Content="左下" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
393
+            </StackPanel>
394
+            <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0" Visibility="Collapsed">
395
+                <TextBlock Text="视频声音" FontSize="16" Foreground="#2D8CF0" Width="80"/>
396
+                <RadioButton x:Name="rbnY" Cursor="Hand" Content="有" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
397
+                <RadioButton x:Name="rbnN" Cursor="Hand" Content="无" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
398
+            </StackPanel>
399
+            <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
400
+                <TextBlock x:Name="txbFilePath" Text="文件路径" FontSize="16" Width="80"  Foreground="#2D8CF0" Padding="2,26,10,0"/>
401
+                <!--输入框-->
402
+                <Border Background="#CDD6E0" Width="525" Height="43" CornerRadius="3">
403
+                    <Label x:Name="txbStoragePath" Background="#FFFFFF" Content="D:\" FontSize="16" Foreground="#333333" Padding="5,12,2,2" Width="523" Height="42" BorderBrush="{x:Null}" BorderThickness="0"/>
404
+                </Border>
405
+                <!--浏览按钮-->
406
+                <Button Cursor="Hand" x:Name="btnBrowse" Content="浏览" FontSize="18" Width="80" Height="43" Margin="18,0,0,0" Click="BtnBrowse_Click">
431 407
                     <Button.Template>
432 408
                         <ControlTemplate TargetType="{x:Type Button}">
433 409
                             <Border
434 410
                                 BorderBrush="{TemplateBinding Control.BorderBrush}"
435 411
                                 BorderThickness="1"
436 412
                                 CornerRadius="2">
437
-                                <Border.Background>#2D8CF0</Border.Background>
413
+                                <Border.Background>#EBEFF3</Border.Background>
438 414
                                 <ContentPresenter
439 415
                                     HorizontalAlignment="Center"
440 416
                                     VerticalAlignment="Center"
@@ -443,60 +419,86 @@
443 419
                         </ControlTemplate>
444 420
                     </Button.Template>
445 421
                 </Button>
446
-            </Grid>
447
-            <!--上传-->
448
-            <Grid Grid.Row="1" x:Name="gridUpload" Visibility="Collapsed">
449
-                <Border Width="1276" Background="#EFF1F8">
450
-                    <Grid  Width="1236" Background="#FFFFFF" Margin="0,0,0,0">
451
-                        <!--分4行-->
422
+            </StackPanel>
423
+            <StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
424
+                <TextBlock Text="    版本号" FontSize="16" Width="80" Foreground="#2D8CF0"/>
425
+                <TextBlock x:Name="txbv" Text="V0.0.0" FontSize="16" Foreground="#333333" Padding="10,0,0,0"/>
426
+            </StackPanel>
427
+            <StackPanel Grid.Row="5" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
428
+                <TextBlock Text="版权所有" FontSize="16" Width="80" Foreground="#2D8CF0"/>
429
+                <TextBlock Text="河南星火燎原软件科技有限公司" FontSize="14" Foreground="#333333" Padding="10,0,0,0"/>
430
+            </StackPanel>
431
+            <!--第四行 开始按钮-->
432
+            <Button Cursor="Hand" Grid.Row="6" x:Name="btnSave" Content="保存" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="115" Height="45" Margin="10,0,10,0" Click="BtnSave_Click">
433
+                <Button.Template>
434
+                    <ControlTemplate TargetType="{x:Type Button}">
435
+                        <Border
436
+                                BorderBrush="{TemplateBinding Control.BorderBrush}"
437
+                                BorderThickness="1"
438
+                                CornerRadius="2">
439
+                            <Border.Background>#2D8CF0</Border.Background>
440
+                            <ContentPresenter
441
+                                    HorizontalAlignment="Center"
442
+                                    VerticalAlignment="Center"
443
+                                    Content="{TemplateBinding ContentControl.Content}" />
444
+                        </Border>
445
+                    </ControlTemplate>
446
+                </Button.Template>
447
+            </Button>
448
+        </Grid>
449
+        <!--上传-->
450
+        <Grid Grid.Row="1" x:Name="gridUpload" Visibility="Collapsed">
451
+            <Border Width="1276" Background="#EFF1F8">
452
+                <Grid  Width="1236" Background="#FFFFFF" Margin="0,0,0,0">
453
+                    <!--分4行-->
454
+                    <Grid.RowDefinitions>
455
+                        <RowDefinition Height="*"/>
456
+                        <RowDefinition Height="30"/>
457
+                    </Grid.RowDefinitions>
458
+                    <!--第二行 内容-->
459
+                    <Grid Grid.Row="0" Margin="0,0,0,0">
452 460
                         <Grid.RowDefinitions>
461
+                            <RowDefinition Height="45"/>
453 462
                             <RowDefinition Height="*"/>
454
-                            <RowDefinition Height="30"/>
455 463
                         </Grid.RowDefinitions>
456
-                        <!--第二行 内容-->
457
-                        <Grid Grid.Row="0" Margin="0,0,0,0">
458
-                            <Grid.RowDefinitions>
459
-                                <RowDefinition Height="45"/>
460
-                                <RowDefinition Height="*"/>
461
-                            </Grid.RowDefinitions>
462
-                            <UniformGrid x:Name="uniStatisticsByTitle"
464
+                        <UniformGrid x:Name="uniStatisticsByTitle"
463 465
                 Grid.Row="0"
464 466
                 Margin="0,0,0,0"
465 467
                 Background="#E6F0FF"
466 468
                 Columns="5"
467 469
                 Rows="1">
468
-                                <TextBlock
470
+                            <TextBlock
469 471
                     HorizontalAlignment="Center"
470 472
                     VerticalAlignment="Center"
471 473
                     FontSize="16"
472 474
                     Text="序号"  />
473
-                                <TextBlock
475
+                            <TextBlock
474 476
                     HorizontalAlignment="Center"
475 477
                     VerticalAlignment="Center"
476 478
                     FontSize="16"
477 479
                     Text="视频名称"/>
478
-                                <!--<TextBlock
480
+                            <!--<TextBlock
479 481
                     HorizontalAlignment="Center"
480 482
                     VerticalAlignment="Center"
481 483
                     FontSize="15"
482 484
                     Text="视频时长" Foreground="White" />-->
483
-                                <TextBlock
485
+                            <TextBlock
484 486
                     HorizontalAlignment="Center"
485 487
                     VerticalAlignment="Center"
486 488
                     FontSize="16"
487 489
                     Text="视频大小"/>
488
-                                <TextBlock
490
+                            <TextBlock
489 491
                     HorizontalAlignment="Center"
490 492
                     VerticalAlignment="Center"
491 493
                     FontSize="16"
492 494
                     Text="日期"/>
493
-                                <TextBlock
495
+                            <TextBlock
494 496
                     HorizontalAlignment="Center"
495 497
                     VerticalAlignment="Center"
496 498
                     FontSize="16"
497 499
                     Text="操作"/>
498
-                            </UniformGrid>
499
-                            <ListBox Grid.Row="1" Margin="0,0,0,0"
500
+                        </UniformGrid>
501
+                        <ListBox Grid.Row="1" Margin="0,0,0,0"
500 502
                     x:Name="listView1"
501 503
                     BorderThickness="0"
502 504
                     FontSize="20"
@@ -505,84 +507,84 @@
505 507
                     ItemsSource="{Binding menuList}" 
506 508
                            ScrollViewer.HorizontalScrollBarVisibility="Disabled"
507 509
                                 ScrollViewer.VerticalScrollBarVisibility="Disabled"/>
508
-                        </Grid>
509
-                        <StackPanel Grid.Row="3" x:Name="stpUp" Orientation="Horizontal" Background="Transparent" Width="180" HorizontalAlignment="Center"
510
+                    </Grid>
511
+                    <StackPanel Grid.Row="3" x:Name="stpUp" Orientation="Horizontal" Background="Transparent" Width="180" HorizontalAlignment="Center"
510 512
             Height="30" Margin="0,0,0,0" Grid.Column="1" VerticalAlignment="Bottom">
511
-                            <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
513
+                        <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
512 514
                     x:Name="btnLastPage"
513 515
                     Width="60" Height="20"
514 516
                     Click="BtnLastPage_Click">
515
-                                <Button.Content>
516
-                                    <StackPanel>
517
-                                        <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
518
-                                    </StackPanel>
519
-                                </Button.Content>
520
-                            </Button>
521
-                            <Grid Width="60"  Background="Transparent">
522
-                                <Grid.RowDefinitions>
523
-                                    <RowDefinition Height="311*"/>
524
-                                    <RowDefinition Height="483*"/>
525
-                                </Grid.RowDefinitions>
526
-                                <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,-12,0,0" Grid.Row="1"  Background="Transparent">
527
-                                    <StackPanel HorizontalAlignment="Center" Orientation="Horizontal"  Background="Transparent">
528
-                                        <TextBlock x:Name="txbCurrpageTwo" TextAlignment="Center" FontSize="15"/>
529
-                                        <TextBlock Text="/" TextAlignment="Center" FontSize="15"/>
530
-                                        <TextBlock x:Name="txbPageNumTwo" TextAlignment="Center" FontSize="15"/>
531
-                                    </StackPanel>
517
+                            <Button.Content>
518
+                                <StackPanel>
519
+                                    <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
532 520
                                 </StackPanel>
533
-                            </Grid>
534
-                            <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
521
+                            </Button.Content>
522
+                        </Button>
523
+                        <Grid Width="60"  Background="Transparent">
524
+                            <Grid.RowDefinitions>
525
+                                <RowDefinition Height="311*"/>
526
+                                <RowDefinition Height="483*"/>
527
+                            </Grid.RowDefinitions>
528
+                            <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,-12,0,0" Grid.Row="1"  Background="Transparent">
529
+                                <StackPanel HorizontalAlignment="Center" Orientation="Horizontal"  Background="Transparent">
530
+                                    <TextBlock x:Name="txbCurrpageTwo" TextAlignment="Center" FontSize="15"/>
531
+                                    <TextBlock Text="/" TextAlignment="Center" FontSize="15"/>
532
+                                    <TextBlock x:Name="txbPageNumTwo" TextAlignment="Center" FontSize="15"/>
533
+                                </StackPanel>
534
+                            </StackPanel>
535
+                        </Grid>
536
+                        <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
535 537
                     x:Name="btnNextPage"  Background="Transparent"
536 538
                     Width="60" Height="20"
537 539
                     Click="BtnNextPage_Click">
538
-                                <Button.Content>
539
-                                    <StackPanel>
540
-                                        <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
541
-                                    </StackPanel>
542
-                                </Button.Content>
543
-                            </Button>
544
-                        </StackPanel>
540
+                            <Button.Content>
541
+                                <StackPanel>
542
+                                    <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
543
+                                </StackPanel>
544
+                            </Button.Content>
545
+                        </Button>
546
+                    </StackPanel>
545 547
 
546
-                    </Grid>
547
-                </Border>
548
-            </Grid>
549
-            <Grid Grid.Row="2" Background="#EFF1F8" Margin="0,0,0,0">
550
-                <StackPanel Orientation="Horizontal" Margin="0,0,0,0">
551
-                    <TextBlock Text="颜色:" FontSize="14" Padding="10,10,0,0"/>
552
-                    <Button Cursor="Hand" x:Name="btnWhite" Background="#FFFFFF" Width="20" Height="20" Click="BtnWhite_Click" Margin="0,2,0,0" Visibility="Collapsed"/>
548
+                </Grid>
549
+            </Border>
550
+        </Grid>
551
+        <Grid Grid.Row="2" Background="#EFF1F8" Margin="0,0,0,0">
552
+            <StackPanel Orientation="Horizontal" Margin="0,0,0,0">
553
+                <TextBlock Text="颜色:" FontSize="14" Padding="10,10,0,0"/>
554
+                <Button Cursor="Hand" x:Name="btnWhite" Background="#FFFFFF" Width="20" Height="20" Click="BtnWhite_Click" Margin="0,2,0,0" Visibility="Collapsed"/>
553 555
 
554 556
 
555
-                    <Button Cursor="Hand" x:Name="btnRed" Background="#FF0000" Width="20" Height="20" Margin="5,-15,0,0" Click="BtnRed_Click">
556
-                        <Image x:Name="imgRed" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Visible"/>
557
-                    </Button>
557
+                <Button Cursor="Hand" x:Name="btnRed" Background="#FF0000" Width="20" Height="20" Margin="5,-15,0,0" Click="BtnRed_Click">
558
+                    <Image x:Name="imgRed" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Visible"/>
559
+                </Button>
558 560
                 <Button Cursor="Hand" x:Name="btnGray" Background="#333333" Width="20" Height="20" Margin="5,-15,0,0" Click="BtnGray_Click">
559
-                        <Image x:Name="imgGray" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
560
-                    </Button>
561
+                    <Image x:Name="imgGray" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
562
+                </Button>
561 563
                 <Button Cursor="Hand" x:Name="btnCyanBlue" Background="#63D600" Width="20" Height="20" Margin="5,-15,0,0" Click="BtnCyanBlue_Click">
562
-                        <Image x:Name="imgCyanBlue" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
563
-                    </Button>
564
+                    <Image x:Name="imgCyanBlue" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
565
+                </Button>
564 566
                 <Button Cursor="Hand" x:Name="btnYellow" Background="#FFBC00" Width="20" Height="20" Margin="5,-15,0,0" Click="BtnYellow_Click">
565
-                        <Image x:Name="imgYellow" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
566
-                    </Button>
567
+                    <Image x:Name="imgYellow" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
568
+                </Button>
567 569
                 <Button Cursor="Hand" x:Name="btnBlue" Background="#00B4FC" Width="20" Height="20" Margin="5,-15,0,0" Click="BtnBlue_Click">
568
-                        <Image x:Name="imgBlue" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
569
-                    </Button>
570
-                    <TextBlock Text="粗细:" FontSize="14" Padding="15,5,0,0" Margin="5,5,0,0"/>
571
-                    <RadioButton Cursor="Hand" x:Name="rbnFine" Content="细" FontSize="14" Margin="0,10,0,0" IsChecked="True" Click="RbnFine_Click"/>
572
-                    <RadioButton Cursor="Hand" x:Name="rbnIn" Content="中" FontSize="14" Margin="5,10,0,0" Click="RbnIn_Click"/>
573
-                    <RadioButton Cursor="Hand" x:Name="rbnCrude" Content="粗" FontSize="14" Margin="5,10,0,0" Click="RbnCrude_Click"/>
574
-                    <StackPanel Orientation="Horizontal">
575
-                        <TextBlock Text="摄像头:" FontSize="14" Padding="15,10,0,0"/>
576
-                        <RadioButton Cursor="Hand" x:Name="rbnOpen" Content="开" FontSize="14" Margin="0,10,0,0" Click="RbnOpen_Click"/>
577
-                        <RadioButton Cursor="Hand" x:Name="rbnTurnOff" Content="关" FontSize="14" Margin="5,10,0,0" IsChecked="True" Click="RbnTurnOff_Click"/>
578
-                    </StackPanel>
579
-                </StackPanel>
580
-                <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,5,10,0">
581
-                    <TextBlock Text="智能笔状态:" FontSize="14" Padding="0,5,0,0"/>
582
-                    <TextBlock x:Name="txbNotConnected" Text="未连接" FontSize="14" Padding="0,5,5,0"/>
570
+                    <Image x:Name="imgBlue" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
571
+                </Button>
572
+                <TextBlock Text="粗细:" FontSize="14" Padding="15,5,0,0" Margin="5,5,0,0"/>
573
+                <RadioButton Cursor="Hand" x:Name="rbnFine" Content="细" FontSize="14" Margin="0,10,0,0" IsChecked="True" Click="RbnFine_Click"/>
574
+                <RadioButton Cursor="Hand" x:Name="rbnIn" Content="中" FontSize="14" Margin="5,10,0,0" Click="RbnIn_Click"/>
575
+                <RadioButton Cursor="Hand" x:Name="rbnCrude" Content="粗" FontSize="14" Margin="5,10,0,0" Click="RbnCrude_Click"/>
576
+                <StackPanel Orientation="Horizontal">
577
+                    <TextBlock Text="摄像头:" FontSize="14" Padding="15,10,0,0"/>
578
+                    <RadioButton Cursor="Hand" x:Name="rbnOpen" Content="开" FontSize="14" Margin="0,10,0,0" Click="RbnOpen_Click"/>
579
+                    <RadioButton Cursor="Hand" x:Name="rbnTurnOff" Content="关" FontSize="14" Margin="5,10,0,0" IsChecked="True" Click="RbnTurnOff_Click"/>
583 580
                 </StackPanel>
584
-            </Grid>
585
-   
581
+            </StackPanel>
582
+            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,5,10,0">
583
+                <TextBlock Text="智能笔状态:" FontSize="14" Padding="0,5,0,0"/>
584
+                <TextBlock x:Name="txbNotConnected" Text="未连接" FontSize="14" Padding="0,5,5,0"/>
585
+            </StackPanel>
586 586
         </Grid>
587 587
 
588
+    </Grid>
589
+
588 590
 </Window>

+ 3
- 0
XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs Прегледај датотеку

@@ -802,6 +802,7 @@ namespace XHWK.WKTool
802 802
                     {
803 803
                         APP.pageData.pagenum += 1;
804 804
                         APP.pageData.currpage = APP.pageData.pagenum;
805
+                        myblackboard.changepage(APP.pageData.currpage - 1);
805 806
                         gridPage.Visibility = Visibility.Visible;//页码大于0 显示
806 807
                     }
807 808
                     if (APP.PageDrawList.Count >= APP.pageData.currpage)
@@ -913,6 +914,7 @@ namespace XHWK.WKTool
913 914
                 {
914 915
                     APP.myloading.Show();
915 916
 
917
+                    myblackboard.changepage(APP.pageData.pagenum);
916 918
                     #region PPT转PDF
917 919
                     string filepath = ofd.FileName;
918 920
                     string path = ofd.SafeFileName.Replace(".ppt", "").Replace(".pptx","").Trim();
@@ -1261,6 +1263,7 @@ namespace XHWK.WKTool
1261 1263
                             if (string.IsNullOrWhiteSpace(videoinfo.VideoSize) || videoinfo.VideoSize == "0 MB")
1262 1264
                             {
1263 1265
                                 videoinfo.VideoSize = FileToolsCommon.GetFileSizeByMB(videoinfo.VideoPath).ToString() + " MB";
1266
+                                videoinfo.VideoSizebyte = FileToolsCommon.GetFileSize(videoinfo.VideoPath);
1264 1267
                             }
1265 1268
                             model_VideoList.Add(videoinfo);
1266 1269
                         }

Loading…
Откажи
Сачувај