123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <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="800" d:DesignHeight="450"
- xmlns:vm="using:AvaloniaApplication4.ViewModels"
- x:DataType="vm:MainWindowViewModel"
- x:Class="AvaloniaApplication4.Page1">
- <StackPanel HorizontalAlignment="Center" Margin="20">
- <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="20" Margin="0,10">Введите логин и пароль</TextBlock>
-
- <TextBox Text="{Binding Page1VM.Login, UpdateSourceTrigger=PropertyChanged}"
- Width="200"
- IsEnabled="{Binding Page1VM.Enabled}"
- Margin="0,5"/>
-
- <TextBox Text="{Binding Page1VM.Password, UpdateSourceTrigger=PropertyChanged}"
- Width="200"
- IsEnabled="{Binding Page1VM.Enabled}"
- Margin="0,5"/>
-
- <TextBlock Text="{Binding Page1VM.Res}" Margin="0,5"/>
-
- <TextBlock IsVisible="{Binding Page1VM.IsTBvis}" Margin="0,5">Введите каптчу</TextBlock>
-
- <TextBox Text="{Binding Page1VM.Enteredt}"
- IsVisible="{Binding Page1VM.IsTBvis}"
- Width="200"
- Margin="0,5"/>
-
- <Button Command="{Binding CheckCaptcha}"
- HorizontalAlignment="Center"
- IsVisible="{Binding Page1VM.IsButtonVisible2}"
- Width="200"
- Margin="0,5">Проверить</Button>
-
- <Button Command="{Binding proverka}"
- HorizontalAlignment="Center"
- IsVisible="{Binding Page1VM.IsButtonVisible}"
- Name="autorisation"
- Width="200"
- Margin="0,5">Войти</Button>
-
- <UserControl Content="{Binding Page1VM.Canva}"></UserControl>
- <TextBlock Text="{Binding Page1VM.Res1}" Margin="0,5"/>
- </StackPanel>
- </UserControl>
|