12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <Page x:Class="RR2.UI.Pages.OrgStructurePg"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:RR2.UI.Pages"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="OrgStructurePg">
- <Grid>
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Border CornerRadius="8" Margin="20 10 20 20" Background="{DynamicResource SecundaryBackgroundColor}" Grid.Column="0">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Button Grid.Row="0" Content="Дороги Росиии"/>
- <Grid Grid.Row="2" >
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Button Grid.Column="0" Content="Административный департамент"/>
- <Button Grid.Column="1" Content="Академия умные дороги"/>
- </Grid>
- <Grid Grid.Row="4" >
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Button Grid.Column="0" Content="Договорной отдел"/>
- <Button Grid.Column="1" Content="Общий отдел"/>
- </Grid>
- <Grid Grid.Row="6" >
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Button Grid.Column="0" Content="Лицензионный отдел"/>
- <Button Grid.Column="1" Content="Управление маркетинга"/>
- </Grid>
- </Grid>
- </Border>
- <Border CornerRadius="8" Margin="20 10 20 20" Background="{DynamicResource SecundaryBackgroundColor}" Grid.Column="1">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition Height="45"></RowDefinition>
- </Grid.RowDefinitions>
- <StackPanel Grid.Row="0">
- <ItemsControl ItemsSource="{Binding Contacts}">
- <ItemsControl.ItemTemplate>
- <DataTemplate>
- <Border BorderBrush="Gray" BorderThickness="1" Margin="5" Padding="5">
- <ScrollViewer Margin="5, 10, 5, 0">
- <StackPanel x:Name="moduleEmployees">
- <DataGrid>
- <DataGrid.Columns>
- <DataGridTextColumn Binding="{Binding }"/>
- </DataGrid.Columns>
- </DataGrid>
- </StackPanel>
- </ScrollViewer>
- </Border>
- </DataTemplate>
- </ItemsControl.ItemTemplate>
- </ItemsControl>
- </StackPanel>
- <Button Grid.Row="1" Content="+" Margin="10" HorizontalAlignment="Right" Width="30" Height="25" Click="Button_Click" />
- </Grid>
- </Border>
- </Grid>
- </Grid>
- </Page>
|