-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCreateLessonPage.xaml
72 lines (66 loc) · 2.99 KB
/
CreateLessonPage.xaml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<Page
x:Class="CosmosStudentPlanner.CreateLessonPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:CosmosStudentPlanner"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid>
<Button x:Name="NavigateBack_Button" Click="NavigateBack_Click" VerticalAlignment="Top" HorizontalAlignment="Left"
Style="{StaticResource NavigationBackButtonNormalStyle}"/>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="4*"/>
<ColumnDefinition Width="4*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<StackPanel x:Name="AddLessonSide"
Margin="0,0,0,0"
Grid.Column="1"
Grid.Row="0"
Height="1000"
Width="750"
HorizontalAlignment="Right">
<TextBlock Text="Add Lesson" HorizontalAlignment="Right" Margin="0,24,0,0" Style="{StaticResource HeaderTextBlockStyle}"/>
<TextBox x:Name="LessonName"
Header="Lesson Name"
Margin="0,48,0,0"
MaxLength="42"
Width="400"
HorizontalAlignment="Right"
InputScope="Text"
IsSpellCheckEnabled="True"/>
<TextBox x:Name="TeacherName"
Header="Teacher Name"
Margin="0,48,0,0"
MaxLength="42"
Width="400"
HorizontalAlignment="Right"
InputScope="Text"
IsSpellCheckEnabled="True"/>
<TimePicker x:Name="LessonTime"
Header="Lesson Time"
MinuteIncrement="15"
ClockIdentifier="24HourClock"
Margin="0,48,0,0"
Width="400"
HorizontalAlignment="Right"/>
<TextBox x:Name="RoomName"
Header="Room Name"
Margin="0,48,0,0"
MaxLength="42"
Width="400"
HorizontalAlignment="Right"
InputScope="Text"
IsSpellCheckEnabled="True"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<Button Content="Add Lesson" Margin="0,48,0,0" Click="Create_Lesson_Click"/>
</StackPanel>
</StackPanel>
</Grid>
</Grid>
</Page>