|
@@ -0,0 +1,57 @@
|
|
|
+<Page x:Class="PP_Ven_MosS.Pages.Acount"
|
|
|
+ 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:PP_Ven_MosS.Pages"
|
|
|
+ mc:Ignorable="d"
|
|
|
+ d:DesignHeight="450" d:DesignWidth="800"
|
|
|
+ Title="Acount">
|
|
|
+
|
|
|
+ <Grid>
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="35"></RowDefinition>
|
|
|
+ <RowDefinition></RowDefinition>
|
|
|
+ <RowDefinition Height="30"></RowDefinition>
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <StackPanel Grid.Row="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal">
|
|
|
+ <TextBlock Text="Зарегистрированные пользователи" FontWeight="Bold" FontSize="30" Margin="100,0"></TextBlock>
|
|
|
+ </StackPanel>
|
|
|
+ <StackPanel Grid.Row="1" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Top" Orientation="Vertical">
|
|
|
+ <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
+ <GroupBox Height="60" Header="Введите текст для поиска" BorderThickness="2" BorderBrush="#FF0000" Margin="10,0,0,0">
|
|
|
+ <TextBox TextChanged="TB_Search_app_TextChanged" Name="TB_Search_app" Width="200" Height="30"/>
|
|
|
+ </GroupBox>
|
|
|
+ <ComboBox SelectionChanged="CB_Filter_user_SelectionChanged" Name="CB_Filter_user" Width="200" Height="30" Margin="10,10,0,0" />
|
|
|
+ </StackPanel>
|
|
|
+ <ListView Grid.Row="2" Grid.Column="0" Name="UserList" Height="700" MinWidth="500">
|
|
|
+ <ListView.ItemsPanel>
|
|
|
+ <ItemsPanelTemplate>
|
|
|
+ <WrapPanel Orientation="Vertical" HorizontalAlignment="Center"/>
|
|
|
+ </ItemsPanelTemplate>
|
|
|
+ </ListView.ItemsPanel>
|
|
|
+ <ListView.ItemTemplate>
|
|
|
+ <DataTemplate>
|
|
|
+ <Border Width="500" Height="150" BorderThickness="1" BorderBrush="Red">
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
+ <StackPanel Margin="10,0,0,0" Width="300" Orientation="Vertical" HorizontalAlignment="Left">
|
|
|
+ <TextBlock Text="{Binding Surname}"/>
|
|
|
+ <TextBlock Text="{Binding Name}"/>
|
|
|
+ <TextBlock Text="{Binding Patronymic}"/>
|
|
|
+ <TextBlock Text="{Binding Post}"/>
|
|
|
+ <TextBlock Text="{Binding Phone_number}"/>
|
|
|
+ <TextBlock Text="{Binding Path=Role.Title_role}"/>
|
|
|
+ <TextBlock Text="{Binding Count_complete_app}"/>
|
|
|
+ <TextBlock Text="{Binding Count_complete_event}"/>
|
|
|
+ </StackPanel>
|
|
|
+ </StackPanel>
|
|
|
+ </Border>
|
|
|
+ </DataTemplate>
|
|
|
+ </ListView.ItemTemplate>
|
|
|
+ </ListView>
|
|
|
+ </StackPanel>
|
|
|
+ <StackPanel Grid.Row="2" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal">
|
|
|
+ <Button Height="30" Content="Выйти" FontSize="20" Style="{StaticResource BtnSt}" Name="Exit" Click="Exit_Click"></Button>
|
|
|
+ </StackPanel>
|
|
|
+ </Grid>
|
|
|
+</Page>
|