Explorar el Código

冲突

tags/录制修改前
zhangxueyang hace 4 años
padre
commit
914165c6ed

+ 18
- 3
XHWK.Model/Model_UserInfo.cs Ver fichero

@@ -1,8 +1,23 @@
1
-namespace XHWK.Model
1
+using System.Collections.Generic;
2
+
3
+namespace XHWK.Model
2 4
 {
3 5
     public class Model_UserInfo
4 6
     {
5
-        string _wkName;
6
-        public string WkName { get => _wkName; set => _wkName = value; }
7
+        private string _userName;
8
+        private string _name;
9
+        private List<Model_WKData> _wkdata;
10
+        /// <summary>
11
+        /// 用户名
12
+        /// </summary>
13
+        public string UserName { get => _userName; set => _userName = value; }
14
+        /// <summary>
15
+        /// 姓名
16
+        /// </summary>
17
+        public string Name { get => _name; set => _name = value; }
18
+        /// <summary>
19
+        /// 微课列表信息
20
+        /// </summary>
21
+        public List<Model_WKData> Wkdata { get => _wkdata; set => _wkdata = value; }
7 22
     }
8 23
 }

+ 0
- 5
XHWK.Model/Model_Video.cs Ver fichero

@@ -11,7 +11,6 @@
11 11
         private Enum_WKVidetype _wkType;
12 12
         private string _RSTime;
13 13
         private string _videoSize;
14
-        private string _drawDataPath;
15 14
         /// <summary>
16 15
         /// 视频路径
17 16
         /// </summary>
@@ -36,10 +35,6 @@
36 35
         /// 视频大小
37 36
         /// </summary>
38 37
         public string VideoSize { get => _videoSize; set => _videoSize = value; }
39
-        /// <summary>
40
-        /// 画板数据存储路径
41
-        /// </summary>
42
-        public string DrawDataPath { get => _drawDataPath; set => _drawDataPath = value; }
43 38
     }
44 39
     /// <summary>
45 40
     /// 视频格式类型

+ 10
- 0
XHWK.Model/Model_WKData.cs Ver fichero

@@ -7,6 +7,8 @@ namespace XHWK.Model
7 7
         private string _wkName;
8 8
         private List<Model_Video> _videoList;
9 9
         private string _wkPath;
10
+        private string _wkDateTime;
11
+        private string _drawDataPath;
10 12
         /// <summary>
11 13
         /// 微课名
12 14
         /// </summary>
@@ -19,5 +21,13 @@ namespace XHWK.Model
19 21
         /// 微课路径
20 22
         /// </summary>
21 23
         public string WkPath { get => _wkPath; set => _wkPath = value; }
24
+        /// <summary>
25
+        /// 微课时间
26
+        /// </summary>
27
+        public string WkDateTime { get => _wkDateTime; set => _wkDateTime = value; }
28
+        /// <summary>
29
+        /// 画板数据存储路径
30
+        /// </summary>
31
+        public string DrawDataPath { get => _drawDataPath; set => _drawDataPath = value; }
22 32
     }
23 33
 }

+ 3
- 3
XHWK.WKTool/CreateAMicroLessonWindow.xaml Ver fichero

@@ -22,7 +22,7 @@
22 22
             <Border Grid.Row="0" Background="#2D8CF0">
23 23
                 <Grid>
24 24
                     <TextBlock Text="创建微课" Foreground="#FFFFFF" FontSize="16" Padding="10,13,0,0"/>
25
-                    <Button  Cursor="Hand" Grid.Row="0" x:Name="btnDown" Content="×" Foreground="#FFFFFF" FontSize="25" Padding="10,0,10,0" HorizontalAlignment="Right" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="btnDown_Click"/>
25
+                    <Button  Cursor="Hand" Grid.Row="0" x:Name="btnDown" Content="×" Foreground="#FFFFFF" FontSize="25" Padding="10,0,10,0" HorizontalAlignment="Right" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnDown_Click"/>
26 26
                 </Grid>
27 27
             </Border>
28 28
             <!--第二行 讲解名称-->
@@ -43,7 +43,7 @@
43 43
                     <TextBox x:Name="txbStoragePath" Text="D:\" FontSize="16" Foreground="#333333" Padding="5,12,2,2" Width="223" Height="42" BorderBrush="{x:Null}" BorderThickness="0"/>
44 44
                 </Border>
45 45
                 <!--浏览按钮-->
46
-                <Button  Cursor="Hand" x:Name="btnBrowse" Content="浏览" FontSize="18" Width="80" Height="43" Margin="18,0,0,0" Click="btnBrowse_Click">
46
+                <Button  Cursor="Hand" x:Name="btnBrowse" Content="浏览" FontSize="18" Width="80" Height="43" Margin="18,0,0,0" Click="BtnBrowse_Click">
47 47
                     <Button.Template>
48 48
                         <ControlTemplate TargetType="{x:Type Button}">
49 49
                             <Border
@@ -61,7 +61,7 @@
61 61
                 </Button>
62 62
             </StackPanel>
63 63
             <!--第四行 开始按钮-->
64
-            <Button  Cursor="Hand" Grid.Row="3" x:Name="btnStart" Content="开始" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="418" Height="43" Margin="10,0,10,0" Click="btnStart_Click">
64
+            <Button  Cursor="Hand" Grid.Row="3" x:Name="btnStart" Content="开始" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="418" Height="43" Margin="10,0,10,0" Click="BtnStart_Click">
65 65
                 <Button.Template>
66 66
                     <ControlTemplate TargetType="{x:Type Button}">
67 67
                         <Border

+ 2
- 2
XHWK.WKTool/LoginWindow.xaml Ver fichero

@@ -23,7 +23,7 @@
23 23
             <Border Grid.Row="0" Background="#2D8CF0">
24 24
                 <Grid>
25 25
                     <TextBlock Text="登录星火微课系统" Foreground="#FFFFFF" FontSize="16" Padding="10,13,0,0"/>
26
-                    <Button  Cursor="Hand" Grid.Row="0" x:Name="btnDown" Content="×" Foreground="#FFFFFF" FontSize="25" Padding="10,0,10,0" HorizontalAlignment="Right" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="btnDown_Click"/>
26
+                    <Button  Cursor="Hand" Grid.Row="0" x:Name="btnDown" Content="×" Foreground="#FFFFFF" FontSize="25" Padding="10,0,10,0" HorizontalAlignment="Right" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnDown_Click"/>
27 27
                 </Grid>
28 28
             </Border>
29 29
             <!--第二行 登陆 账号-->
@@ -63,7 +63,7 @@
63 63
             </StackPanel>
64 64
             
65 65
             <!--第五行 开始按钮-->
66
-            <Button  Cursor="Hand" Grid.Row="4" x:Name="btnStart" Content="登录" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="418" Height="43" Margin="10,0,10,0" Click="btnStart_Click">
66
+            <Button  Cursor="Hand" Grid.Row="4" x:Name="btnStart" Content="登录" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="418" Height="43" Margin="10,0,10,0" Click="BtnStart_Click">
67 67
                 <Button.Template>
68 68
                     <ControlTemplate TargetType="{x:Type Button}">
69 69
                         <Border

+ 2
- 2
XHWK.WKTool/LoginWindow.xaml.cs Ver fichero

@@ -16,7 +16,7 @@ namespace XHWK.WKTool
16 16
         /// </summary>
17 17
         /// <param name="sender"></param>
18 18
         /// <param name="e"></param>
19
-        private void btnDown_Click(object sender, RoutedEventArgs e)
19
+        private void BtnDown_Click(object sender, RoutedEventArgs e)
20 20
         {
21 21
 
22 22
         }
@@ -25,7 +25,7 @@ namespace XHWK.WKTool
25 25
         /// </summary>
26 26
         /// <param name="sender"></param>
27 27
         /// <param name="e"></param>
28
-        private void btnStart_Click(object sender, RoutedEventArgs e)
28
+        private void BtnStart_Click(object sender, RoutedEventArgs e)
29 29
         {
30 30
 
31 31
         }

Loading…
Cancelar
Guardar