|
@@ -6,14 +6,15 @@
|
|
|
x:Class="LoginGenerator.GeneratePage"
|
|
|
xmlns:vm="using:LoginGenerator.ViewModels"
|
|
|
x:DataType="vm:MainWindowViewModel"
|
|
|
+ Background="{Binding GeneratePageVM.Background}"
|
|
|
>
|
|
|
|
|
|
- <StackPanel VerticalAlignment="Center" Background="{Binding }">
|
|
|
+ <StackPanel VerticalAlignment="Center" >
|
|
|
<TextBlock FontSize="24" FontWeight="Bold" HorizontalAlignment="Center">АССИСТЕНТ РЕГИСТРАЦИИ</TextBlock>
|
|
|
<StackPanel>
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
|
|
- <TextBox Width="615" Watermark="Введите ФИО" Name="FIO"/>
|
|
|
- <Button Margin="10 0 0 0" Width="75" HorizontalContentAlignment="Center" FontWeight="Bold" BorderBrush="Black" Background="White" Foreground="#545454" Content="🌗" Click=""/>
|
|
|
+ <TextBox Width="615" Watermark="Введите ФИО" Text="{Binding GeneratePageVM.FIO}" Name="FIO"/>
|
|
|
+ <Button Margin="10 0 0 0" Width="75" HorizontalContentAlignment="Center" FontWeight="Bold" BorderBrush="Black" Background="White" Foreground="#545454" Content="🌗" Command="{Binding GeneratePageVM.SwitchTheme}"/>
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Margin="0 10 0 0" HorizontalAlignment="Center" Orientation="Horizontal">
|
|
@@ -24,21 +25,21 @@
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Margin="0 10 0 0" HorizontalAlignment="Center" Orientation="Horizontal">
|
|
|
- <TextBox Width="529" Watermark="Логин" Name="Login"/>
|
|
|
- <Button Margin="10 0 0 0" Width="75" HorizontalContentAlignment="Center" FontWeight="Bold" BorderBrush="Black" Background="White" Foreground="#545454" Content="©" Click="LoginCopy"/>
|
|
|
- <Button Margin="10 0 0 0" Width="75" HorizontalContentAlignment="Center" FontWeight="Bold" BorderBrush="Black" Background="White" Foreground="#545454" Content="↻" Click="TMore_Click"/>
|
|
|
+ <TextBox Width="529" Watermark="Логин" Text="{Binding GeneratePageVM.Login}" Name="Login"/>
|
|
|
+ <Button Margin="10 0 0 0" Width="75" HorizontalContentAlignment="Center" FontWeight="Bold" BorderBrush="Black" Background="White" Foreground="#545454" Content="©" Command="{Binding GeneratePageVM.LoginCopy}"/>
|
|
|
+ <Button Margin="10 0 0 0" Width="75" HorizontalContentAlignment="Center" FontWeight="Bold" BorderBrush="Black" Background="White" Foreground="#545454" Content="↻" Command="{Binding GeneratePageVM.RegenLogin}"/>
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Margin="0 10 0 0" HorizontalAlignment="Center" Orientation="Horizontal">
|
|
|
- <TextBox Width="529" Watermark="Пароль" Name="Pass"/>
|
|
|
- <Button Margin="10 0 0 0" Width="75" HorizontalContentAlignment="Center" FontWeight="Bold" BorderBrush="Black" Background="White" Foreground="#545454" Content="©" Click="PassCopy"/>
|
|
|
- <Button Margin="10 0 0 0" Width="75" HorizontalContentAlignment="Center" FontWeight="Bold" BorderBrush="Black" Background="White" Foreground="#545454" Content="↻" Click="RegenPass"/>
|
|
|
+ <TextBox Width="529" Watermark="Пароль" Name="Pass" Text="{Binding GeneratePageVM.Pass}"/>
|
|
|
+ <Button Margin="10 0 0 0" Width="75" HorizontalContentAlignment="Center" FontWeight="Bold" BorderBrush="Black" Background="White" Foreground="#545454" Content="©" Command="{Binding GeneratePageVM.PassCopy}"/>
|
|
|
+ <Button Margin="10 0 0 0" Width="75" HorizontalContentAlignment="Center" FontWeight="Bold" BorderBrush="Black" Background="White" Foreground="#545454" Content="↻" Command="{Binding GeneratePageVM.RegenPass}"/>
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Margin="0 10 0 0" Orientation="Horizontal" HorizontalAlignment="Center">
|
|
|
- <Button Width="226" HorizontalContentAlignment="Center" FontWeight="Bold" BorderBrush="Black" Background="White" Foreground="#545454" Content="Записать данные" Click="WriteIn"/>
|
|
|
- <Button Width="226" Margin="10 0 0 0" HorizontalContentAlignment="Center" FontWeight="Bold" BorderBrush="Black" Background="White" Foreground="#545454" Content="Скопировать данные" Click="CopyAll_Click"/>
|
|
|
- <Button Width="226" Margin="10 0 0 0" HorizontalContentAlignment="Center" FontWeight="Bold" BorderBrush="Black" Background="White" Foreground="#545454" Content="Сгенерировать данные" Click="GenerateAll"/>
|
|
|
+ <Button Width="226" HorizontalContentAlignment="Center" FontWeight="Bold" BorderBrush="Black" Background="White" Foreground="#545454" Content="Записать данные" Command="{Binding GeneratePageVM.WriteIn}"/>
|
|
|
+ <Button Width="226" Margin="10 0 0 0" HorizontalContentAlignment="Center" FontWeight="Bold" BorderBrush="Black" Background="White" Foreground="#545454" Content="Скопировать данные" Command="{Binding GeneratePageVM.CopyAll_Click}"/>
|
|
|
+ <Button Width="226" Margin="10 0 0 0" HorizontalContentAlignment="Center" FontWeight="Bold" BorderBrush="Black" Background="White" Foreground="#545454" Content="Сгенерировать данные" Command="{Binding GeneratePageVM.GenerateAll}"/>
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Margin="0 10 0 0" HorizontalAlignment="Center">
|