1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <Page x:Class="WriteErase.ClassPages.PageAuthorization"
- 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:WriteErase.ClassPages"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="PageAuthorization"
- FontFamily="Comic Sans MS">
- <Grid HorizontalAlignment="Center" VerticalAlignment="Center" Margin="15 10">
- <Border
- MinWidth="300"
- MinHeight="250"
- Padding="15 10"
- CornerRadius="15"
- Background="{StaticResource yellowGreen}">
- <StackPanel>
- <TextBlock
- Text="Авторизация"
- Style="{StaticResource Header}"
- Margin="0 5 0 15"/>
- <GroupBox Header="Логин">
- <TextBox
- Name="tbxLogin"/>
- </GroupBox>
- <GroupBox Header="Пароль">
- <PasswordBox
- Name="pbxPassword"/>
- </GroupBox>
- <GroupBox Header="Каптча" Name="gbCaptcha" Visibility="Collapsed">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="Auto"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
-
- <UserControl Name="cCaptcha"
- Margin="10 0"
- Grid.Row="0" Grid.Column="0"/>
-
- <Button Name="btnGenerateCaptcha"
- Click="btnGenerateCaptchaClick"
- Style="{StaticResource Restart}"
- Grid.Row="0" Grid.Column="1"/>
- <GroupBox Header="Введите каптчу" Grid.Row="1" Grid.ColumnSpan="2">
- <TextBox Name="tbxCaptcha" />
- </GroupBox>
-
- </Grid>
- </GroupBox>
- <Button
- Name="btnEnter"
- Content="Войти"
- Click="btnEnterClick"
- Margin="0 20"/>
- <Button
- Name="btnGuest"
- Content="Войти как гость"
- Click="btnGuestClick"
- Style="{StaticResource WithoutBackground}"/>
- </StackPanel>
-
- </Border>
- </Grid>
- </Page>
|