12345678910111213141516171819202122232425262728293031 |
- <UserControl xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d" d:DesignWidth="550" d:DesignHeight="800"
- x:Class="Culusas.Views.Autorizahon"
- x:DataType="vm:MainWindowViewModel"
- xmlns:vm="using:Culusas.ViewModels"
- Background="#FF8C00">
- <Grid>
- <Border BorderBrush="#CC5500" BorderThickness="2" CornerRadius="9" Background="Black" Height="259" Width="350" Margin="0 -250 0 0" >
- <StackPanel Margin="100" Background="Black" Height="250" Width="300" >
- <TextBlock FontFamily="Century Gothic" Padding="10" Margin="6 2 0 6" Foreground="#FF8C00">Имя:</TextBlock>
- <TextBox IsEnabled="{Binding AutorixVM.Dilai}" FontFamily="Century Gothic" BorderBrush="#CC5500" Text = "{Binding AutorixVM.Login}" CornerRadius="9" Background="#FAA76C" Foreground="Black" Margin="6 -10 8 6" Watermark="Введите свой логин"/>
- <TextBlock FontFamily="Century Gothic" Padding="10" Margin="0 5" Foreground="#FF8C00">Пароль:</TextBlock>
- <TextBox FontFamily="Century Gothic" BorderBrush="#CC5500" CornerRadius="9" Text = "{Binding AutorixVM.Password}" Background="#FAA76C" Foreground="Black" Margin="6 -10 8 6" PasswordChar="*" Watermark="Введите свой пароль"/>
- <Button FontFamily="Century Gothic" BorderBrush="#FF8C00" CornerRadius="9" Background="#CC5500" Height="30" Width="200" VerticalAlignment="Bottom" Margin="40" HorizontalAlignment="Center" IsEnabled="{Binding AutorixVM.Dilai}" Command="{Binding NextCui}" >Войти в калькулятор -----></Button>
- </StackPanel>
- </Border>
- <StackPanel IsVisible="{Binding AutorixVM.Visibilitys}">
- <TextBlock HorizontalAlignment="Center">Введите капчу</TextBlock>
- <TextBox Text="{Binding AutorixVM.CaphaText}" TextAlignment="Center" PasswordChar="*" Name="Cap"></TextBox>
- <UserControl Content="{Binding AutorixVM.Caph}"></UserControl>
- </StackPanel>
-
- </Grid>
-
-
-
-
- </UserControl>
|