Account.xaml 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <Page x:Class="Детский_сад.Account"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:Детский_сад"
  7. mc:Ignorable="d"
  8. d:DesignHeight="630" d:DesignWidth="1250"
  9. Title="Account">
  10. <Grid>
  11. <Grid.ColumnDefinitions>
  12. <ColumnDefinition/>
  13. <ColumnDefinition/>
  14. <ColumnDefinition/>
  15. </Grid.ColumnDefinitions>
  16. <StackPanel Name="spSize" VerticalAlignment="Center">
  17. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
  18. <Button Name="BtnBackPhoto" Content="◄ " Template="{StaticResource btnUsersWidthTemplate}" MinWidth="50" Visibility="Hidden" Click="BtnBackPhoto_Click"/>
  19. <Image Name="imgPhoto" Source="..\Resources\Заглушка.png" Width="100" Margin="30 10 30 30"/>
  20. <Button Name="BtnNextPhoto" Content=" ►" Template="{StaticResource btnUsersWidthTemplate}" MinWidth="50" Visibility="Hidden" Click="BtnNextPhoto_Click"/>
  21. </StackPanel>
  22. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="10">
  23. <Button Name="BtnChangePhoto" Content="Изменить" Template="{StaticResource btnTemplate}" Margin="0 0 5 0" Click="BtnChangePhoto_Click"/>
  24. <Button Name="BtnAddPhoto" Content="Добавить" Template="{StaticResource btnTemplate}" Margin="5 0 0 0" Click="BtnAddPhoto_Click"/>
  25. </StackPanel>
  26. <Button Name="BtnAddSomePhotos" Content="Добавить несколько" Template="{StaticResource btnTemplate}" Margin="0 0 0 10" Click="BtnAddSomePhotos_Click"/>
  27. <Button Name="BtnDelPhoto" Content="Удалить" Template="{StaticResource btnTemplate}" Margin="0" Click="BtnDelPhoto_Click"/>
  28. </StackPanel>
  29. <StackPanel Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center">
  30. <StackPanel>
  31. <TextBlock Name="tbFullName" Text="Ф.И.О: " Style="{StaticResource tbAvtorReg}" Margin="5"/>
  32. <TextBlock Name="tbBirthdate" Text="Дата рождения: " Style="{StaticResource tbAvtorReg}" Margin="5"/>
  33. <TextBlock Name="tbPosition" Text="Должность: " Style="{StaticResource tbAvtorReg}" Margin="5"/>
  34. <TextBlock Name="tbAdress" Text="Адрес: " Style="{StaticResource tbAvtorReg}" Margin="5"/>
  35. <TextBlock Name="tbLogin" Text="Логин: " Style="{StaticResource tbAvtorReg}" Margin="5"/>
  36. <TextBlock Name="tbRole" Text="Роль: " Style="{StaticResource tbAvtorReg}" Margin="5"/>
  37. <TextBlock Name="tbGroups" Text="Группы: " Style="{StaticResource tbAvtorReg}" Visibility="Collapsed" Margin="5 10 5 10"/>
  38. </StackPanel>
  39. <StackPanel>
  40. <Button Name="BtnChangePersonal" Content="Изменить данные" Template="{StaticResource btnTemplate}" Margin="0 30 0 0" Click="BtnChangePersonal_Click"/>
  41. </StackPanel>
  42. </StackPanel>
  43. <StackPanel Grid.Row="1" Grid.Column="2" VerticalAlignment="Center">
  44. <StackPanel Name="spAdmin">
  45. <Button Name="BtnViewEmp" Content="Сотрудники" Template="{StaticResource btnTemplate}" Margin="5" Click="BtnViewEmp_Click"/>
  46. <Button Name="BtnViewChild" Content="Дети" Template="{StaticResource btnTemplate}" Margin="5" Click="BtnViewChild_Click"/>
  47. </StackPanel>
  48. <StackPanel Name="spUser" Visibility="Collapsed">
  49. <TextBlock Style="{StaticResource tbAvtorReg}" Text="Здесь будет меню" HorizontalAlignment="Center"/>
  50. </StackPanel>
  51. <Button Name="BtnChangeAccount" Content="Изменить данные учётной записи" Template="{StaticResource btnTemplate}" Margin="5" Click="BtnChangeAccount_Click"/>
  52. </StackPanel>
  53. </Grid>
  54. </Page>