|
@@ -6,26 +6,23 @@
|
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
|
x:DataType="vm:RegVM"
|
|
|
x:Class="AvaloniaApplication2.RegUser">
|
|
|
-
|
|
|
+
|
|
|
<Grid>
|
|
|
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
- <Grid>
|
|
|
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
- <TextBlock Text="{Binding ErrorMessage}"></TextBlock>
|
|
|
- <TextBox Text="{Binding NewUser.Fio}" Watermark="ФИО"></TextBox>
|
|
|
- <TextBox Text="{Binding NewUser.Login}" Watermark="Логин"></TextBox>
|
|
|
- <TextBox Text="{Binding Pass}" Watermark="Пароль"></TextBox>
|
|
|
- <TextBlock Text="{Binding Addimage}" ></TextBlock>
|
|
|
- <Button Command="{Binding AddPhoto}">
|
|
|
- <TextBlock Text="Добавить изображение">
|
|
|
- </TextBlock>
|
|
|
- </Button>
|
|
|
- <Button Command="{Binding Reg}">
|
|
|
- <TextBlock Text="Зарегистрироватьcя">
|
|
|
- </TextBlock>
|
|
|
- </Button>
|
|
|
- </StackPanel>
|
|
|
- </Grid>
|
|
|
+ <TextBlock Text="{Binding ErrorMessage}"></TextBlock>
|
|
|
+ <TextBox Text="{Binding NewUser.Fio}" Watermark="ФИО"></TextBox>
|
|
|
+ <TextBox Text="{Binding NewUser.Login}" Watermark="Логин"></TextBox>
|
|
|
+ <TextBox Text="{Binding Pass}" Watermark="Пароль"></TextBox>
|
|
|
+ <TextBlock Text="{Binding Addimage}"></TextBlock>
|
|
|
+ <Button Command="{Binding AddPhoto}">
|
|
|
+ <TextBlock Text="Добавить изображение">
|
|
|
+ </TextBlock>
|
|
|
+ </Button>
|
|
|
+ <Button Command="{Binding Reg}">
|
|
|
+ <TextBlock Text="Зарегистрироваться">
|
|
|
+ </TextBlock>
|
|
|
+ </Button>
|
|
|
</StackPanel>
|
|
|
</Grid>
|
|
|
+
|
|
|
</UserControl>
|