forked from zachtaylor1/SWProj
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathResApplication.xaml
More file actions
132 lines (132 loc) · 6.93 KB
/
ResApplication.xaml
File metadata and controls
132 lines (132 loc) · 6.93 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
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<Page x:Class="SWProjv1.ResApplication"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:SWProjv1"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"
Title="ResApplication">
<Grid Background="#FFE5E5E5">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock HorizontalAlignment="Center" FontSize="18" Text="Residence Application" Grid.Row="0"/>
<ScrollViewer Name="resScroller" VerticalScrollBarVisibility="Visible" Grid.Row="1">
<StackPanel CanVerticallyScroll="True">
<TextBlock Text="Name:"/>
<TextBox Name="name_inp"/>
<TextBlock Text="Student Number:"/>
<TextBox Name="stdNum_inp"/>
<TextBlock Text="Last Name"/>
<TextBox Name="lname_inp"/>
<TextBlock Text="Other Name"/>
<TextBox Name="otherName"/>
<TextBlock Text="School Year"/>
<TextBox Name="schoolYear"/>
<TextBlock Text="Gender"/>
<ComboBox Name="gender">
<ComboBoxItem Content="" IsSelected="True"/>
<ComboBoxItem Content="Male"/>
<ComboBoxItem Content="Female"/>
<ComboBoxItem Content="Other"/>
</ComboBox>
<TextBlock Text="Email Address"/>
<TextBox Name="email"/>
<TextBlock Text="Street Address"/>
<TextBox Name="streetAddress"/>
<TextBlock Text="City"/>
<TextBox Name="city"/>
<TextBlock Text="Region (Province/State)"/>
<TextBox Name="region"/>
<TextBlock Text="Country"/>
<TextBox Name="country"/>
<TextBlock Text="Postal Code"/>
<TextBox Name="postalCode"/>
<TextBlock Text="Phone Number Country Code"/>
<TextBox Name="phoneCountryCode"/>
<TextBlock Text="Phone Number Area Code"/>
<TextBox Name="phoneAreaCode"/>
<TextBlock Text="Phone Number"/>
<TextBox Name="phoneNumber"/>
<TextBlock Text="Preferred Building"/>
<TextBox Name="preferedBuilding"/>
<TextBlock Text="Smokes"/>
<ComboBox Name="smokes">
<ComboBoxItem Content="" IsSelected="True"/>
<ComboBoxItem Content="Yes"/>
<ComboBoxItem Content="No"/>
</ComboBox>
<TextBlock Text="Can Live With Smoker"/>
<ComboBox Name="liveWithSmoke">
<ComboBoxItem Content="" IsSelected="True"/>
<ComboBoxItem Content="Yes"/>
<ComboBoxItem Content="No"/>
</ComboBox>
<TextBlock Text="Do You Drink"/>
<ComboBox Name="drinks">
<ComboBoxItem Content="" IsSelected="True"/>
<ComboBoxItem Content="Yes"/>
<ComboBoxItem Content="No"/>
</ComboBox>
<TextBlock Text="Can Live With Drinks"/>
<ComboBox Name="liveWithDrink">
<ComboBoxItem Content="" IsSelected="True"/>
<ComboBoxItem Content="Yes"/>
<ComboBoxItem Content="No"/>
</ComboBox>
<TextBlock Text="Do you smoke/use marijuana?"/>
<ComboBox Name="marijuana">
<ComboBoxItem Content="" IsSelected="True"/>
<ComboBoxItem Content="Yes"/>
<ComboBoxItem Content="No"/>
</ComboBox>
<TextBlock Text="Can You live with people who use marijuana?"/>
<ComboBox Name="liveWithMarijuana">
<ComboBoxItem Content="" IsSelected="True"/>
<ComboBoxItem Content="Yes"/>
<ComboBoxItem Content="No"/>
</ComboBox>
<TextBlock Text="How Social Are You?"/>
<TextBox Name="socialLevel"/>
<TextBlock Text="When Do You Normally Go To Bed?"/>
<TextBox Name="bedtime"/>
<TextBlock Text="When Do You Wake Up?"/>
<TextBox Name="wakeUp"/>
<TextBlock Text="How Loud Are You?"/>
<TextBox Name="volumeLevel"/>
<TextBlock Text="Will You Host Overnight Visitors?"/>
<ComboBox Name="overnightVisitors">
<ComboBoxItem Content="" IsSelected="True"/>
<ComboBoxItem Content="Yes"/>
<ComboBoxItem Content="No"/>
</ComboBox>
<TextBlock Text="How Clean Are You?"/>
<TextBox Name="cleanliness"/>
<TextBlock Text="Will You Often Study In Your Room?"/>
<ComboBox Name="studyInRoom">
<ComboBoxItem Content="" IsSelected="True"/>
<ComboBoxItem Content="Yes"/>
<ComboBoxItem Content="No"/>
</ComboBox>
<TextBlock Text="Do You Have A Roomate Request?"/>
<ComboBox Name="roomateRequest">
<ComboBoxItem Content="" IsSelected="True"/>
<ComboBoxItem Content="Yes"/>
<ComboBoxItem Content="No"/>
</ComboBox>
<TextBlock Text="If You Have A Roomate In Mind, Enter Their Student Number"/>
<TextBox Name="roomateStudentNum"/>
<TextBlock Text="If You Have A Roomate In Mind, Enter Their Name"/>
<TextBox Name="roomateName"/>
<TextBlock Text="What Meal Plan Do You Want?"/>
<TextBox Name="mealPlan"/>
<Button Name="submit_btn" Content="Submit Form" Click="submit_btn_Click"/>
</StackPanel>
</ScrollViewer>
</Grid>
</Grid>
</Page>