-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSetLearningPlanWindow.xaml
More file actions
43 lines (37 loc) · 2.28 KB
/
SetLearningPlanWindow.xaml
File metadata and controls
43 lines (37 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<Window x:Class="TimeTask.SetLearningPlanWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Title="创建学习计划" Height="450" Width="500"
WindowStartupLocation="CenterOwner"
ResizeMode="NoResize">
<Grid Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Text="学习科目" FontWeight="Bold" Margin="0,0,0,5"/>
<TextBox Name="SubjectTextBox" Grid.Row="1" Margin="0,0,0,10" Padding="5"/>
<TextBlock Grid.Row="2" Text="学习目标" FontWeight="Bold" Margin="0,0,0,5"/>
<TextBox Name="GoalTextBox" Grid.Row="3" Height="80" AcceptsReturn="True" TextWrapping="Wrap" Margin="0,0,0,10" Padding="5"/>
<TextBlock Grid.Row="4" Text="学习时长" FontWeight="Bold" Margin="0,0,0,5"/>
<TextBox Name="DurationTextBox" Grid.Row="5" Margin="0,0,0,10" Padding="5"/>
<TextBlock Grid.Row="6" Text="开始日期" FontWeight="Bold" Margin="0,0,0,5"/>
<DatePicker Name="StartDatePicker" Grid.Row="7" Margin="0,0,0,10"/>
<TextBlock Grid.Row="8" Text="提示:系统将根据您的学习目标自动生成阶段性学习计划" Foreground="Gray" FontStyle="Italic" VerticalAlignment="Top"/>
<StackPanel Grid.Row="9" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,10,0,0">
<Button Name="SubmitButton" Content="创建计划" Width="100" Height="30" Margin="0,0,10,0" Click="SubmitButton_Click"/>
<Button Name="CancelButton" Content="取消" Width="80" Height="30" Click="CancelButton_Click" IsCancel="True"/>
</StackPanel>
</Grid>
</Window>