Files
myfriendsaround/main/Libs/PushRecipe_WP7_SL/Source/WindowsPhone.Recipes.Push.Client/Views/UserLoginView.xaml
T

27 lines
1.4 KiB
XML

<UserControl x:Class="WindowsPhone.Recipes.Push.Client.Views.UserLoginView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
xmlns:my="clr-namespace:WindowsPhone.Recipes.Push.Client.Controls"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
Foreground="{StaticResource PhoneForegroundBrush}"
d:DesignHeight="480" d:DesignWidth="480">
<!--ContentPanel - place additional content here-->
<Grid x:Name="LayoutRoot">
<my:ProgressBarWithText x:Name="progress" Margin="0,-40,0,0" Text="Login..." FontSize="24" ShowProgress="True" Visibility="Collapsed" />
<StackPanel x:Name="login" Visibility="Collapsed">
<StackPanel>
<TextBlock Text="User Name" />
<TextBox x:Name="textBoxUserName" Text="{Binding UserName, Mode=TwoWay}" />
</StackPanel>
<Button x:Name="buttonLogin" Content="Login" Click="ButtonLogin_Click" />
</StackPanel>
</Grid>
</UserControl>