01.
<
phone:PhoneApplicationPage
02.
x:Class
=
"myPhoneApp.MainPage"
05.
xmlns:phone
=
"clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
06.
xmlns:shell
=
"clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
09.
mc:Ignorable
=
"d"
10.
FontFamily
=
"{StaticResource PhoneFontFamilyNormal}"
11.
FontSize
=
"{StaticResource PhoneFontSizeNormal}"
12.
Foreground
=
"{StaticResource PhoneForegroundBrush}"
13.
SupportedOrientations
=
"Portrait"
Orientation
=
"Portrait"
14.
shell:SystemTray.IsVisible
=
"True"
>
15.
16.
17.
<
Grid
x:Name
=
"LayoutRoot"
Background
=
"Transparent"
>
18.
<
Grid.RowDefinitions
>
19.
<
RowDefinition
Height
=
"Auto"
/>
20.
<
RowDefinition
Height
=
"*"
/>
21.
</
Grid.RowDefinitions
>
22.
23.
24.
<
StackPanel
x:Name
=
"TitlePanel"
Grid.Row
=
"0"
Margin
=
"12,17,0,28"
>
25.
<
TextBlock
Text
=
"MY APPLICATION"
Style
=
"{StaticResource PhoneTextNormalStyle}"
Margin
=
"12,0"
/>
26.
<
TextBlock
Text
=
"ThaiCrate.Com"
Margin
=
"9,-7,0,0"
Style
=
"{StaticResource PhoneTextTitle1Style}"
FontSize
=
"45"
/>
27.
</
StackPanel
>
28.
29.
30.
<
Grid
x:Name
=
"ContentPanel"
Grid.Row
=
"1"
Margin
=
"12,0,12,0"
>
31.
<
TextBlock
HorizontalAlignment
=
"Left"
Margin
=
"10,10,0,0"
TextWrapping
=
"Wrap"
Text
=
"Insert Data"
VerticalAlignment
=
"Top"
FontSize
=
"36"
/>
32.
<
TextBlock
HorizontalAlignment
=
"Left"
Margin
=
"10,63,0,0"
TextWrapping
=
"Wrap"
Text
=
"Input Name :"
VerticalAlignment
=
"Top"
/>
33.
<
TextBox
x:Name
=
"txtName"
HorizontalAlignment
=
"Left"
Height
=
"72"
Margin
=
"0,95,0,0"
TextWrapping
=
"Wrap"
VerticalAlignment
=
"Top"
Width
=
"456"
/>
34.
<
TextBlock
HorizontalAlignment
=
"Left"
Margin
=
"10,167,0,0"
TextWrapping
=
"Wrap"
Text
=
"Input Email :"
VerticalAlignment
=
"Top"
/>
35.
<
TextBox
x:Name
=
"txtEmail"
HorizontalAlignment
=
"Left"
Height
=
"72"
Margin
=
"0,194,0,0"
TextWrapping
=
"Wrap"
VerticalAlignment
=
"Top"
Width
=
"456"
/>
36.
<
Button
x:Name
=
"btnSave"
Content
=
"Save"
HorizontalAlignment
=
"Left"
Margin
=
"172,271,0,0"
VerticalAlignment
=
"Top"
Click
=
"btnSave_Click"
/>
37.
</
Grid
>
38.
39.
</
Grid
>
40.
41.
</
phone:PhoneApplicationPage
>