OrgStructurePg.xaml 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <Page x:Class="RR2.UI.Pages.OrgStructurePg"
  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:RR2.UI.Pages"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="OrgStructurePg">
  10. <Grid>
  11. <Grid>
  12. <Grid.ColumnDefinitions>
  13. <ColumnDefinition/>
  14. <ColumnDefinition/>
  15. </Grid.ColumnDefinitions>
  16. <Border CornerRadius="8" Margin="20 10 20 20" Background="{DynamicResource SecundaryBackgroundColor}" Grid.Column="0">
  17. <Grid>
  18. <Grid.RowDefinitions>
  19. <RowDefinition/>
  20. <RowDefinition/>
  21. <RowDefinition/>
  22. <RowDefinition/>
  23. <RowDefinition/>
  24. <RowDefinition/>
  25. <RowDefinition/>
  26. </Grid.RowDefinitions>
  27. <Button Grid.Row="0" Content="Дороги Росиии"/>
  28. <Grid Grid.Row="2" >
  29. <Grid.ColumnDefinitions>
  30. <ColumnDefinition/>
  31. <ColumnDefinition/>
  32. </Grid.ColumnDefinitions>
  33. <Button Grid.Column="0" Content="Административный департамент"/>
  34. <Button Grid.Column="1" Content="Академия умные дороги"/>
  35. </Grid>
  36. <Grid Grid.Row="4" >
  37. <Grid.ColumnDefinitions>
  38. <ColumnDefinition/>
  39. <ColumnDefinition/>
  40. </Grid.ColumnDefinitions>
  41. <Button Grid.Column="0" Content="Договорной отдел"/>
  42. <Button Grid.Column="1" Content="Общий отдел"/>
  43. </Grid>
  44. <Grid Grid.Row="6" >
  45. <Grid.ColumnDefinitions>
  46. <ColumnDefinition/>
  47. <ColumnDefinition/>
  48. </Grid.ColumnDefinitions>
  49. <Button Grid.Column="0" Content="Лицензионный отдел"/>
  50. <Button Grid.Column="1" Content="Управление маркетинга"/>
  51. </Grid>
  52. </Grid>
  53. </Border>
  54. <Border CornerRadius="8" Margin="20 10 20 20" Background="{DynamicResource SecundaryBackgroundColor}" Grid.Column="1">
  55. <Grid>
  56. <Grid.RowDefinitions>
  57. <RowDefinition/>
  58. <RowDefinition Height="45"></RowDefinition>
  59. </Grid.RowDefinitions>
  60. <StackPanel Grid.Row="0">
  61. <ItemsControl ItemsSource="{Binding Contacts}">
  62. <ItemsControl.ItemTemplate>
  63. <DataTemplate>
  64. <Border BorderBrush="Gray" BorderThickness="1" Margin="5" Padding="5">
  65. <ScrollViewer Margin="5, 10, 5, 0">
  66. <StackPanel x:Name="moduleEmployees">
  67. <DataGrid>
  68. <DataGrid.Columns>
  69. <DataGridTextColumn Binding="{Binding }"/>
  70. </DataGrid.Columns>
  71. </DataGrid>
  72. </StackPanel>
  73. </ScrollViewer>
  74. </Border>
  75. </DataTemplate>
  76. </ItemsControl.ItemTemplate>
  77. </ItemsControl>
  78. </StackPanel>
  79. <Button Grid.Row="1" Content="+" Margin="10" HorizontalAlignment="Right" Width="30" Height="25" Click="Button_Click" />
  80. </Grid>
  81. </Border>
  82. </Grid>
  83. </Grid>
  84. </Page>