Browse Source

冲突

tags/录制修改前
zhangxueyang 4 years ago
parent
commit
914165c6ed

+ 18
- 3
XHWK.Model/Model_UserInfo.cs View File

1
-namespace XHWK.Model
1
+using System.Collections.Generic;
2
+
3
+namespace XHWK.Model
2
 {
4
 {
3
     public class Model_UserInfo
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 View File

11
         private Enum_WKVidetype _wkType;
11
         private Enum_WKVidetype _wkType;
12
         private string _RSTime;
12
         private string _RSTime;
13
         private string _videoSize;
13
         private string _videoSize;
14
-        private string _drawDataPath;
15
         /// <summary>
14
         /// <summary>
16
         /// 视频路径
15
         /// 视频路径
17
         /// </summary>
16
         /// </summary>
36
         /// 视频大小
35
         /// 视频大小
37
         /// </summary>
36
         /// </summary>
38
         public string VideoSize { get => _videoSize; set => _videoSize = value; }
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
     /// <summary>
39
     /// <summary>
45
     /// 视频格式类型
40
     /// 视频格式类型

+ 10
- 0
XHWK.Model/Model_WKData.cs View File

7
         private string _wkName;
7
         private string _wkName;
8
         private List<Model_Video> _videoList;
8
         private List<Model_Video> _videoList;
9
         private string _wkPath;
9
         private string _wkPath;
10
+        private string _wkDateTime;
11
+        private string _drawDataPath;
10
         /// <summary>
12
         /// <summary>
11
         /// 微课名
13
         /// 微课名
12
         /// </summary>
14
         /// </summary>
19
         /// 微课路径
21
         /// 微课路径
20
         /// </summary>
22
         /// </summary>
21
         public string WkPath { get => _wkPath; set => _wkPath = value; }
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 View File

22
             <Border Grid.Row="0" Background="#2D8CF0">
22
             <Border Grid.Row="0" Background="#2D8CF0">
23
                 <Grid>
23
                 <Grid>
24
                     <TextBlock Text="创建微课" Foreground="#FFFFFF" FontSize="16" Padding="10,13,0,0"/>
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
                 </Grid>
26
                 </Grid>
27
             </Border>
27
             </Border>
28
             <!--第二行 讲解名称-->
28
             <!--第二行 讲解名称-->
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"/>
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
                 </Border>
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
                     <Button.Template>
47
                     <Button.Template>
48
                         <ControlTemplate TargetType="{x:Type Button}">
48
                         <ControlTemplate TargetType="{x:Type Button}">
49
                             <Border
49
                             <Border
61
                 </Button>
61
                 </Button>
62
             </StackPanel>
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
                 <Button.Template>
65
                 <Button.Template>
66
                     <ControlTemplate TargetType="{x:Type Button}">
66
                     <ControlTemplate TargetType="{x:Type Button}">
67
                         <Border
67
                         <Border

+ 2
- 2
XHWK.WKTool/LoginWindow.xaml View File

23
             <Border Grid.Row="0" Background="#2D8CF0">
23
             <Border Grid.Row="0" Background="#2D8CF0">
24
                 <Grid>
24
                 <Grid>
25
                     <TextBlock Text="登录星火微课系统" Foreground="#FFFFFF" FontSize="16" Padding="10,13,0,0"/>
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
                 </Grid>
27
                 </Grid>
28
             </Border>
28
             </Border>
29
             <!--第二行 登陆 账号-->
29
             <!--第二行 登陆 账号-->
63
             </StackPanel>
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
                 <Button.Template>
67
                 <Button.Template>
68
                     <ControlTemplate TargetType="{x:Type Button}">
68
                     <ControlTemplate TargetType="{x:Type Button}">
69
                         <Border
69
                         <Border

+ 2
- 2
XHWK.WKTool/LoginWindow.xaml.cs View File

16
         /// </summary>
16
         /// </summary>
17
         /// <param name="sender"></param>
17
         /// <param name="sender"></param>
18
         /// <param name="e"></param>
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
         /// </summary>
25
         /// </summary>
26
         /// <param name="sender"></param>
26
         /// <param name="sender"></param>
27
         /// <param name="e"></param>
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…
Cancel
Save