RoleAddWindow.xaml 1.4 KB

12345678910111213141516171819202122232425
  1. <Window x:Class="Hotel_Course_Project.RoleAddWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:materialDesign="https://materialdesigninxaml.net/winfx/xaml/themes"
  7. xmlns:local="clr-namespace:Hotel_Course_Project"
  8. mc:Ignorable="d"
  9. Title="Добавление должности" Height="150" Width="200" ResizeMode="NoResize" WindowStartupLocation="CenterScreen"
  10. Icon="pack://application:,,,/Resources/favicon.ico">
  11. <Grid>
  12. <Grid.ColumnDefinitions>
  13. <ColumnDefinition></ColumnDefinition>
  14. <ColumnDefinition></ColumnDefinition>
  15. </Grid.ColumnDefinitions>
  16. <Grid.RowDefinitions>
  17. <RowDefinition></RowDefinition>
  18. <RowDefinition></RowDefinition>
  19. </Grid.RowDefinitions>
  20. <TextBlock HorizontalAlignment="Right" VerticalAlignment="Center">Название</TextBlock>
  21. <TextBox Grid.Column="1" Name="RName"></TextBox>
  22. <Button Grid.Row="1" IsCancel="True" Name="CancelBtn" Click="CancelBtn_Click">Отмена</Button>
  23. <Button Grid.Row="1" Grid.Column="1" IsDefault="True" Name="AddBtn" Click="AddBtn_Click">Добавить</Button>
  24. </Grid>
  25. </Window>