<Window x:Class="KursachMukha692gr.SpisokUchenikov"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:sys="clr-namespace:System;assembly=mscorlib"
        xmlns:local="clr-namespace:KursachMukha692gr"
        mc:Ignorable="d"
            Title="Список учеников" Height="460" Width="1500" WindowStartupLocation="CenterScreen">
    <Grid Background="#028E9B" Margin="0,0,2,0">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="151*"/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <DataGrid Height="400" Margin="279,15,10,0" VerticalAlignment="Top" AutoGenerateColumns="True" Name="uchenikigrid"/>
        <Border  MinWidth="1170" MaxWidth="300">
            <StackPanel Margin="-155,0,1049,10" >
                <TextBox x:Name="search" Background="White"  Margin="60,15,60,15" TextChanged="search_TextChanged"/>
                <Button Content="Поиск" Click="Button_Click_Search" Margin="40,0,40,40" />
                <Button Content="Добавить ученика" Click="Button_Click_add" Margin="40,0,40,40" />
                <Button Content="Изменить данные" Click="Button_Click_update" Margin="40,0,40,40"/>
                <Button Content="Удалить ученика" Click="Button_Click_delete" Margin="40,0,40,40"/>
                <Button Content="Назад" Click="Button_Click_Back" Margin="40,0,40,0" />
            </StackPanel>
        </Border>
    </Grid>
</Window>
