12345678910111213141516171819202122232425262728293031323334 |
- <UserControl xmlns="https://github.com/avaloniaui"
- xmlns:vm="using:avaloniaPr.ViewModels"
- 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"
- x:DataType="vm:MainWindowViewModel"
- x:Class="avaloniaPr.Views.Autorization">
- <Grid Background="Gray">
- <Grid.RowDefinitions>
- <RowDefinition Height="0.1*"/>
- <RowDefinition Height="0.3*"/>
- <RowDefinition Height="0.3*"/>
- <RowDefinition Height="0.6*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="0.3*"/>
- <ColumnDefinition/>
- <ColumnDefinition Width="0.3*"/>
- </Grid.ColumnDefinitions>
- <TextBlock Text="Авторизация" Classes="centerTB" Grid.Row="1" Grid.Column="1"/>
- <StackPanel Grid.Row="2" Grid.Column="1">
- <TextBox Name="TBLogin" Text="{Binding LoginUs}" IsEnabled="{Binding Enabled}" Classes="TBMain"/>
- <TextBox Name="TBPassword" Text="{Binding PasswordUs}" IsEnabled="{Binding Enabled}" Classes="TBMain"/>
- </StackPanel>
- <StackPanel Grid.Row="3" Grid.Column="1">
- <UserControl Content="{Binding CanvasText}" IsVisible="{Binding VisibilityCaptcha}"/>
- <TextBox Text="{Binding Capcha}" IsVisible="{Binding VisibilityCaptcha}" Classes="TBMain" Width="210"/>
- <TextBlock Text="{Binding Waiting}" IsVisible="{Binding VisibilityWaiting}" Classes="centerTB"/>
- <Button IsVisible="{Binding VisibilityCaptcha}" Command="{Binding CommandCaptcha}" Content="Отправить" Classes="ButtonStyle"/>
- <Button Content="{Binding AutorizationVM.TextButton}" Command="{Binding AutorizationButton}" IsVisible="{Binding VisibilityButton}" Classes="ButtonStyle"/>
- </StackPanel>
- </Grid>
- </UserControl>
|