DispatcherEditWindow.xaml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <Window x:Class="Kusach.Windows.DispatcherEditWindow"
  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:local="clr-namespace:Kusach.Windows"
  7. mc:Ignorable="d"
  8. Height="160"
  9. Width="300"
  10. ResizeMode="NoResize"
  11. WindowStyle="None"
  12. WindowStartupLocation="CenterScreen"
  13. Title="DispatcherEditWindow">
  14. <Grid>
  15. <StackPanel
  16. Margin="0,10,0,0"
  17. HorizontalAlignment="Center"
  18. VerticalAlignment="Top">
  19. <Label
  20. Content="Права доступа:"
  21. HorizontalAlignment="Left"
  22. VerticalAlignment="Top"
  23. Height="30"
  24. Width="190"/>
  25. <TextBox
  26. x:Name="PermissionBox"
  27. HorizontalAlignment="Left"
  28. VerticalAlignment="Top"
  29. Height="30"
  30. Width="190"/>
  31. </StackPanel>
  32. <Button
  33. Content="Сохранить"
  34. HorizontalAlignment="Left"
  35. Margin="170,100,0,0"
  36. VerticalAlignment="Top"
  37. Height="40"
  38. Width="120"
  39. Click="SaveButton_Click"/>
  40. <Button
  41. Content="Отмена"
  42. HorizontalAlignment="Left"
  43. Margin="10,100,0,0"
  44. VerticalAlignment="Top"
  45. Height="40"
  46. Width="120"
  47. Click="BackButton_Click"
  48. IsDefault="True"/>
  49. <Border
  50. BorderBrush="Black"
  51. BorderThickness="2"/>
  52. </Grid>
  53. </Window>