|
<Window x:Uid="Window_1" x:Class="WpfLocalize.DialogLogin"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Login" Height="223" Width="464" ResizeMode="NoResize" Padding="0">
<Grid x:Uid="Grid_1" Background="#FFDEEDF8" Margin="0">
<Grid.RowDefinitions>
<RowDefinition x:Uid="RowDefinition_1" Height="40"/>
<RowDefinition x:Uid="RowDefinition_2"/>
<RowDefinition x:Uid="RowDefinition_3" Height="26"/>
</Grid.RowDefinitions>
<StackPanel x:Uid="StackPanel_1" Orientation="Horizontal" Grid.Row="0" HorizontalAlignment="Center">
<Label x:Uid="label1" Height="40" Name="label1" FontSize="24" HorizontalContentAlignment="Center" Padding="0" />
<Image x:Uid="imgLanguage" Source="Images\gb.gif" Name="imgLanguage" Height="11" Width="16" Margin="20,0,2,00"/>
</StackPanel>
<Grid x:Uid="Grid_2" Grid.Row="1" >
<Grid.ColumnDefinitions>
<ColumnDefinition x:Uid="ColumnDefinition_1" Width="300"/>
<ColumnDefinition x:Uid="ColumnDefinition_2" />
</Grid.ColumnDefinitions>
<StackPanel x:Uid="StackPanel_2" Orientation="Vertical" Background="#FFCBD5EB" >
<StackPanel x:Uid="StackPanel_5" Orientation="Horizontal" Margin="5,20,5,10">
<Label x:Uid="Label_2" Width="85" HorizontalContentAlignment="Right">User Name</Label>
<TextBox x:Uid="tbUser" x:Name="tbUser" Width="195" TextChanged="tbUser_TextChanged" TabIndex="1"></TextBox>
</StackPanel>
<StackPanel x:Uid="StackPanel_6" Orientation="Horizontal" Margin="5">
<Label x:Uid="Label_3" Width="85" HorizontalContentAlignment="Right">Password</Label>
<PasswordBox x:Uid="tbPass" x:Name="tbPass" Width="195" PasswordChanged="tbPass_PasswordChanged" TabIndex="2"></PasswordBox>
</StackPanel>
</StackPanel>
<StackPanel x:Uid="StackPanel_8" Grid.Column="1" Orientation="Vertical" Background="#FFDEE0F7">
<Button x:Uid="btLogin" Height="23" Name="btLogin" Width="100" Background="#FF7B94CC" Foreground="White" Margin="0,20,0,0" Click="btLogin_Click" TabIndex="3" IsDefault="True">Login</Button>
<Button x:Uid="btCancel" Height="23" Name="btCancel" Width="100" Background="#FF7B94CC" Foreground="White" Margin="0,20,0,0" Click="btCancel_Click" TabIndex="4" IsCancel="True">Cancel</Button>
</StackPanel>
</Grid>
<StackPanel x:Uid="StackPanel_7" Grid.Row="2" Orientation="Horizontal" Margin="10,0,10,0" >
<Image x:Uid="btGb" Source="Images\gb.gif" Name="btGb" Tag="en-US" Height="11" Width="16" Margin="2,0,2,0" MouseDown="btGb_MouseDown"/>
<Image x:Uid="btde" Source="Images\de.gif" Name="btDe" Tag="de-DE" Height="11" Width="16" Margin="2,0,2,0" MouseDown="btGb_MouseDown"/>
<Image x:Uid="btnl" Source="Images\nl.gif" Name="btnl" Tag="nl-NL" Height="11" Width="16" Margin="2,0,2,0" MouseDown="btGb_MouseDown"/>
<Label x:Uid="Label_4" VerticalAlignment="Top" HorizontalContentAlignment="Right" FontSize="11" Margin="0,0,10,0" Height="22" Width="359">Version V1.00</Label>
</StackPanel>
</Grid>
</Window>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am software developer working with microsoft technologies for the last 20 years. Seen almost all versions of DOS and windows and programming in Assembly, C / C++ / C# and VB.NET. Currently focussing completely on everything .NET.