Browse Source

Update1212202339

gr682_ggi 4 years ago
parent
commit
f3cbb5a43d
51 changed files with 1520 additions and 43 deletions
  1. BIN
      .vs/Logistics application/v16/.suo
  2. 14 0
      Logistics application/AddresseeList.xaml
  3. 28 0
      Logistics application/AddresseeList.xaml.cs
  4. 31 0
      Logistics application/ConsumerСreation.xaml
  5. 38 0
      Logistics application/ConsumerСreation.xaml.cs
  6. 11 6
      Logistics application/LoginApplication.xaml
  7. 2 2
      Logistics application/LoginApplication.xaml.cs
  8. 29 1
      Logistics application/Logistics application.csproj
  9. 15 2
      Logistics application/MainMenu.xaml
  10. 10 3
      Logistics application/MainMenu.xaml.cs
  11. 5 2
      Logistics application/MainWindow.xaml
  12. 23 1
      Logistics application/MainWindow.xaml.cs
  13. 1 2
      Logistics application/Menaget.cs
  14. 20 0
      Logistics application/OrderCreation.xaml
  15. 28 0
      Logistics application/OrderCreation.xaml.cs
  16. 44 0
      Logistics application/SenderList.xaml
  17. 64 0
      Logistics application/SenderList.xaml.cs
  18. BIN
      Logistics application/bin/Debug/Logistics application.exe
  19. BIN
      Logistics application/bin/Debug/Logistics application.pdb
  20. BIN
      Logistics application/obj/Debug/AddresseeList.baml
  21. 75 0
      Logistics application/obj/Debug/AddresseeList.g.cs
  22. 75 0
      Logistics application/obj/Debug/AddresseeList.g.i.cs
  23. BIN
      Logistics application/obj/Debug/ConsumerСreation.baml
  24. 105 0
      Logistics application/obj/Debug/ConsumerСreation.g.cs
  25. 105 0
      Logistics application/obj/Debug/ConsumerСreation.g.i.cs
  26. BIN
      Logistics application/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  27. BIN
      Logistics application/obj/Debug/LoginApplication.baml
  28. 5 5
      Logistics application/obj/Debug/LoginApplication.g.cs
  29. 5 5
      Logistics application/obj/Debug/LoginApplication.g.i.cs
  30. 1 1
      Logistics application/obj/Debug/Logistics application.csproj.CoreCompileInputs.cache
  31. 8 0
      Logistics application/obj/Debug/Logistics application.csproj.FileListAbsolute.txt
  32. BIN
      Logistics application/obj/Debug/Logistics application.csprojAssemblyReference.cache
  33. BIN
      Logistics application/obj/Debug/Logistics application.exe
  34. BIN
      Logistics application/obj/Debug/Logistics application.g.resources
  35. BIN
      Logistics application/obj/Debug/Logistics application.pdb
  36. 3 3
      Logistics application/obj/Debug/Logistics application_MarkupCompile.cache
  37. 3 3
      Logistics application/obj/Debug/Logistics application_MarkupCompile.i.cache
  38. 0 1
      Logistics application/obj/Debug/Logistics application_MarkupCompile.i.lref
  39. 4 0
      Logistics application/obj/Debug/Logistics application_MarkupCompile.lref
  40. BIN
      Logistics application/obj/Debug/MainMenu.baml
  41. 31 1
      Logistics application/obj/Debug/MainMenu.g.cs
  42. 31 1
      Logistics application/obj/Debug/MainMenu.g.i.cs
  43. BIN
      Logistics application/obj/Debug/MainWindow.baml
  44. 33 2
      Logistics application/obj/Debug/MainWindow.g.cs
  45. 33 2
      Logistics application/obj/Debug/MainWindow.g.i.cs
  46. BIN
      Logistics application/obj/Debug/OrderCreation.baml
  47. 75 0
      Logistics application/obj/Debug/OrderCreation.g.cs
  48. 75 0
      Logistics application/obj/Debug/OrderCreation.g.i.cs
  49. BIN
      Logistics application/obj/Debug/SenderList.baml
  50. 245 0
      Logistics application/obj/Debug/SenderList.g.cs
  51. 245 0
      Logistics application/obj/Debug/SenderList.g.i.cs

BIN
.vs/Logistics application/v16/.suo


+ 14 - 0
Logistics application/AddresseeList.xaml

@@ -0,0 +1,14 @@
+<Page x:Class="Logistics_application.AddresseeList"
+      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:Logistics_application"
+      mc:Ignorable="d" 
+      d:DesignHeight="450" d:DesignWidth="800"
+      Title="AddresseeList">
+
+    <Grid>
+        
+    </Grid>
+</Page>

+ 28 - 0
Logistics application/AddresseeList.xaml.cs

@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace Logistics_application
+{
+    /// <summary>
+    /// Логика взаимодействия для AddresseeList.xaml
+    /// </summary>
+    public partial class AddresseeList : Page
+    {
+        public AddresseeList()
+        {
+            InitializeComponent();
+        }
+    }
+}

+ 31 - 0
Logistics application/ConsumerСreation.xaml

@@ -0,0 +1,31 @@
+<Page x:Class="Logistics_application.ConsumerСreation"
+      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:Logistics_application"
+      mc:Ignorable="d" 
+      d:DesignHeight="400" d:DesignWidth="600"
+      Title="ConsumerСreation">
+
+    <Grid Height="390" VerticalAlignment="Top" Margin="0,10,0,0">
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="300"/>
+            <ColumnDefinition Width="300"/>
+        </Grid.ColumnDefinitions>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="45"/>
+            <RowDefinition/>
+            <RowDefinition/>
+            <RowDefinition Height="45"/>
+        </Grid.RowDefinitions>
+
+        <Button Content="Список отправителей" HorizontalAlignment="Left" Margin="10,107,0,0" Grid.Row="1" VerticalAlignment="Top" Width="280" Height="79" Grid.RowSpan="2" Click="SenderList_Click"/>
+        <Button Content="Список получателей"  HorizontalAlignment="Left" Margin="10,107,0,0" Grid.Row="1" Grid.Column="1" VerticalAlignment="Top" Width="280" Height="79" Grid.RowSpan="2" Click="AddresseeList_Click"/>
+        <Frame NavigationUIVisibility="Hidden" Grid.Row="1" Name="MainFrame" Grid.RowSpan="2"/>
+
+
+
+
+    </Grid>
+</Page>

+ 38 - 0
Logistics application/ConsumerСreation.xaml.cs

@@ -0,0 +1,38 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace Logistics_application
+{
+    /// <summary>
+    /// Логика взаимодействия для ConsumerСreation.xaml
+    /// </summary>
+    public partial class ConsumerСreation : Page
+    {
+        public ConsumerСreation()
+        {
+            InitializeComponent();
+        }
+
+        private void SenderList_Click(object sender, RoutedEventArgs e)
+        {
+            Manager.MainFrame.Navigate(new SenderList());
+        }
+
+        private void AddresseeList_Click(object sender, RoutedEventArgs e)
+        {
+            Manager.MainFrame.Navigate(new AddresseeList());
+        }
+    }
+}

+ 11 - 6
Logistics application/LoginApplication.xaml

@@ -7,12 +7,17 @@
       mc:Ignorable="d" 
       d:DesignHeight="400" d:DesignWidth="600"
       Title="LoginApplication">
-    <Grid Height="400" VerticalAlignment="Bottom">
-        <TextBlock Text="Логин:" HorizontalAlignment="Left" Margin="158,135,0,0" VerticalAlignment="Top" Width="127" Height="38" FontSize="22" TextAlignment="Right"/>
-        <TextBox Name="loginbox" HorizontalAlignment="Left" Margin="321,135,0,0"  VerticalAlignment="Top"  Width="135" Height="38"/>
-        <TextBlock Text="Пароль:" HorizontalAlignment="Left" Margin="158,198,0,0" VerticalAlignment="Top" Width="127" Height="38" FontSize="22" TextAlignment="Right"/>
-        <PasswordBox Name="passwordbox" HorizontalAlignment="Left" Margin="321,198,0,0" VerticalAlignment="Top" Width="135" Height="38"/>
-        <Button Content="Вход" HorizontalAlignment="Left" Margin="224,306,0,0" Width="160" Height="38" VerticalAlignment="Top" Click="Button_Click"/>
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="45"/>
+            <RowDefinition Height="312*"/>
+            <RowDefinition Height="45"/>
+        </Grid.RowDefinitions>
+        <TextBlock Text="Логин:" HorizontalAlignment="Left" Margin="158,101,0,0" VerticalAlignment="Top" Width="127" Height="41" FontSize="22" TextAlignment="Right" Grid.Row="1"/>
+        <TextBox Name="loginbox" HorizontalAlignment="Left" Margin="321,101,0,0"  VerticalAlignment="Top"  Width="135" Height="41" Grid.Row="1" FontSize="15"/>
+        <TextBlock Text="Пароль:" HorizontalAlignment="Left" Margin="158,147,0,0" VerticalAlignment="Top" Width="127" Height="40" FontSize="22" TextAlignment="Right" Grid.Row="1"/>
+        <PasswordBox Name="passwordbox" HorizontalAlignment="Left" Margin="321,147,0,0" VerticalAlignment="Top" Width="135" Height="40" Grid.Row="1" FontSize="15"/>
+        <Button Content="Вход" HorizontalAlignment="Left" Margin="219,234,0,0" Width="175" Height="46" VerticalAlignment="Top" Grid.Row="1" Click="Entry_Click"/>
 
     </Grid>
 </Page>

+ 2 - 2
Logistics application/LoginApplication.xaml.cs

@@ -26,7 +26,7 @@ namespace Logistics_application
             InitializeComponent();
         }
 
-        private void Button_Click(object sender, RoutedEventArgs e)
+        private void Entry_Click(object sender, RoutedEventArgs e)
         {
             if (loginbox.Text == "" || passwordbox.Password == "")
             {
@@ -34,7 +34,7 @@ namespace Logistics_application
             }
             if (db.Operator.Select(item => item.Login + " " + item.Password).Contains(loginbox.Text + " " + passwordbox.Password))
             {
-                Menaget.MainFrame.Navigate(new MainMenu());
+                Manager.MainFrame.Navigate(new MainMenu());
             }
             else
             {

+ 29 - 1
Logistics application/Logistics application.csproj

@@ -67,9 +67,15 @@
     <Compile Include="Addressee.cs">
       <DependentUpon>Datebase.tt</DependentUpon>
     </Compile>
+    <Compile Include="AddresseeList.xaml.cs">
+      <DependentUpon>AddresseeList.xaml</DependentUpon>
+    </Compile>
     <Compile Include="Car.cs">
       <DependentUpon>Datebase.tt</DependentUpon>
     </Compile>
+    <Compile Include="ConsumerСreation.xaml.cs">
+      <DependentUpon>ConsumerСreation.xaml</DependentUpon>
+    </Compile>
     <Compile Include="Datebase.Context.cs">
       <AutoGen>True</AutoGen>
       <DesignTime>True</DesignTime>
@@ -94,19 +100,33 @@
     <Compile Include="MainMenu.xaml.cs">
       <DependentUpon>MainMenu.xaml</DependentUpon>
     </Compile>
-    <Compile Include="Menaget.cs" />
+    <Compile Include="Manager.cs" />
     <Compile Include="Operator.cs">
       <DependentUpon>Datebase.tt</DependentUpon>
     </Compile>
     <Compile Include="Order.cs">
       <DependentUpon>Datebase.tt</DependentUpon>
     </Compile>
+    <Compile Include="OrderCreation.xaml.cs">
+      <DependentUpon>OrderCreation.xaml</DependentUpon>
+    </Compile>
     <Compile Include="Route.cs">
       <DependentUpon>Datebase.tt</DependentUpon>
     </Compile>
     <Compile Include="Sender.cs">
       <DependentUpon>Datebase.tt</DependentUpon>
     </Compile>
+    <Compile Include="SenderList.xaml.cs">
+      <DependentUpon>SenderList.xaml</DependentUpon>
+    </Compile>
+    <Page Include="AddresseeList.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+    <Page Include="ConsumerСreation.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
     <Page Include="LoginApplication.xaml">
       <SubType>Designer</SubType>
       <Generator>MSBuild:Compile</Generator>
@@ -127,6 +147,14 @@
       <DependentUpon>MainWindow.xaml</DependentUpon>
       <SubType>Code</SubType>
     </Compile>
+    <Page Include="OrderCreation.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+    <Page Include="SenderList.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
   </ItemGroup>
   <ItemGroup>
     <Compile Include="Properties\AssemblyInfo.cs">

+ 15 - 2
Logistics application/MainMenu.xaml

@@ -5,11 +5,24 @@
       xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
       xmlns:local="clr-namespace:Logistics_application"
       mc:Ignorable="d" 
-      d:DesignHeight="450" d:DesignWidth="800"
+      d:DesignHeight="400" d:DesignWidth="600"
       Title="MainMenu">
 
     <Grid>
-        
+        <Grid.RowDefinitions>
+            <RowDefinition Height="45"/>
+            <RowDefinition Height="306"/>
+            <RowDefinition Height="45"/>
+        </Grid.RowDefinitions>
+        <Frame NavigationUIVisibility="Hidden" Grid.Row="1" Name="MainFrame" Grid.RowSpan="2"/>
+        <TextBlock Text="Создание заказа" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,10,0,0" Grid.Row="1" FontSize="20" TextAlignment="Center" Width="161"/>
+        <Button Content="Создание потребителей" HorizontalAlignment="Left" Margin="10,52,0,0" Grid.Row="1" VerticalAlignment="Top" Width="161" Height="44" Click="ConsumerCreation_Click"/>
+        <Button Content="Создание заказа" HorizontalAlignment="Left" Margin="10,138,0,0" Grid.Row="1" VerticalAlignment="Top" Width="161" Height="44" Click="OrderCreation_Click"/>
+        <TextBlock Text="↓" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,101,0,0" Grid.Row="1" FontSize="24" TextAlignment="Center" Width="161"/>
+
+
+
+
 
     </Grid>
 </Page>

+ 10 - 3
Logistics application/MainMenu.xaml.cs

@@ -15,14 +15,21 @@ using System.Windows.Shapes;
 
 namespace Logistics_application
 {
-    /// <summary>
-    /// Логика взаимодействия для MainMenu.xaml
-    /// </summary>
     public partial class MainMenu : Page
     {
         public MainMenu()
         {
             InitializeComponent();
         }
+
+        private void ConsumerCreation_Click(object sender, RoutedEventArgs e)
+        {
+            Manager.MainFrame.Navigate(new ConsumerСreation());
+        }
+
+        private void OrderCreation_Click(object sender, RoutedEventArgs e)
+        {
+            Manager.MainFrame.Navigate(new OrderCreation());
+        }
     }
 }

+ 5 - 2
Logistics application/MainWindow.xaml

@@ -7,9 +7,12 @@
         mc:Ignorable="d"
         Height="400" Width="600" WindowStartupLocation="CenterOwner" WindowStyle="None">
     <Grid>
-        <TextBox Text="Логистика 'Грузи-Вези'" Height="21" Margin="446,0,0,0" VerticalAlignment="Top" TextAlignment="Center"/>
-        <Frame NavigationUIVisibility="Hidden" Grid.Row="1" Name="MainFrame"/>
 
+        <Button Content="X" Margin="547,0,0,0" VerticalAlignment="Top" Height="45" FontSize="24" Background="#FFF90505" Click="Сlose_Click"/>
+        <TextBlock Text="Логистика 'Грузи-Вези'" HorizontalAlignment="Left"  VerticalAlignment="Top" Height="45" Width="547" FontSize="22" TextAlignment="Center"/>
+        <Button Content="⮨" Name="ButtonBack_Click" HorizontalAlignment="Left" Margin="0,347,0,0" VerticalAlignment="Top" Width="45" Height="45" Click="Back_Click"/>
 
+        <Frame ContentRendered ="MainFrame_ContentRendered" NavigationUIVisibility="Hidden" Grid.Row="1" Name="MainFrame"/>
+        
     </Grid>
 </Window>

+ 23 - 1
Logistics application/MainWindow.xaml.cs

@@ -25,7 +25,29 @@ namespace Logistics_application
         {
             InitializeComponent();
             MainFrame.Navigate(new LoginApplication());
-            Menaget.MainFrame = MainFrame;
+            Manager.MainFrame = MainFrame;
+        }
+
+        private void Сlose_Click(object sender, RoutedEventArgs e)
+        {
+            Application.Current.Shutdown();
+        }
+
+        private void Back_Click(object sender, RoutedEventArgs e)
+        {
+            Manager.MainFrame.GoBack();
+        }
+
+        private void MainFrame_ContentRendered(object sender, EventArgs e)
+        {
+            if (MainFrame.CanGoBack)
+            {
+                ButtonBack_Click.Visibility = Visibility.Visible;
+            }
+            else
+            {
+                ButtonBack_Click.Visibility = Visibility.Hidden;
+            }
         }
     }
 }

+ 1 - 2
Logistics application/Menaget.cs

@@ -7,9 +7,8 @@ using System.Windows.Controls;
 
 namespace Logistics_application
 {
-    class Menaget
+    class Manager
     {
         public static Frame MainFrame { get; set; }
-
     }
 }

+ 20 - 0
Logistics application/OrderCreation.xaml

@@ -0,0 +1,20 @@
+<Page x:Class="Logistics_application.OrderCreation"
+      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:Logistics_application"
+      mc:Ignorable="d" 
+      d:DesignHeight="400" d:DesignWidth="600"
+      Title="OrderCreation">
+
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="45"/>
+            <RowDefinition Height="121*"/>
+            <RowDefinition Height="45"/>
+        </Grid.RowDefinitions>
+
+
+    </Grid>
+</Page>

+ 28 - 0
Logistics application/OrderCreation.xaml.cs

@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace Logistics_application
+{
+    /// <summary>
+    /// Логика взаимодействия для OrderCreation.xaml
+    /// </summary>
+    public partial class OrderCreation : Page
+    {
+        public OrderCreation()
+        {
+            InitializeComponent();
+        }
+    }
+}

+ 44 - 0
Logistics application/SenderList.xaml

@@ -0,0 +1,44 @@
+<Page x:Class="Logistics_application.SenderList"
+      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:Logistics_application"
+      mc:Ignorable="d" 
+      d:DesignHeight="400" d:DesignWidth="600"
+      Title="SenderList">
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="45"/>
+            <RowDefinition Height="306"/>
+            <RowDefinition Height="45"/>
+        </Grid.RowDefinitions>
+
+        <DataGrid Name="table" HorizontalAlignment="Left" AutoGenerateColumns="False" Height="195" Margin="10,37,0,0" VerticalAlignment="Top" Width="356" Grid.Row="1">
+            <DataGrid.Columns>
+                <DataGridTextColumn Binding="{Binding ID_Sender}" Header="ID" Width="*"/>
+                <DataGridTextColumn Binding="{Binding Surname}" Header="Surname" Width="3*"/>
+                <DataGridTextColumn Binding="{Binding Name}" Header="Name" Width="2*"/>
+                <DataGridTextColumn Binding="{Binding MiddleName}" Header="MiddleName" Width="4*"/>
+                <DataGridTextColumn Binding="{Binding PhoneNumber}" Header="PhoneNumber" Width="5*"/>
+                <DataGridTextColumn Binding="{Binding City}" Header="City" Width="2*"/>
+            </DataGrid.Columns>
+        </DataGrid>
+
+        <TextBox Name="txtID" HorizontalAlignment="Left" Height="23" Margin="470,5,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Grid.Row="1"/>
+        <Label x:Name="label" Content="ID" HorizontalAlignment="Left" Margin="371,5,0,0" VerticalAlignment="Top" Grid.Row="1" Width="94"/>
+        <TextBox Name="txtSurname" HorizontalAlignment="Left" Height="23" Margin="470,33,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Grid.Row="1"/>
+        <Label x:Name="label1" Content="Surname" HorizontalAlignment="Left" Margin="371,33,0,0" VerticalAlignment="Top" Grid.Row="1" Width="94"/>
+        <TextBox Name="txtName" HorizontalAlignment="Left" Height="23" Margin="470,61,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Grid.Row="1"/>
+        <Label x:Name="label2" Content="Name" HorizontalAlignment="Left" Margin="371,61,0,0" VerticalAlignment="Top" Grid.Row="1" Width="94"/>
+        <TextBox Name="txtMiddleName" HorizontalAlignment="Left" Height="23" Margin="470,89,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Grid.Row="1"/>
+        <Label x:Name="label3" Content="MiddleName" HorizontalAlignment="Left" Margin="371,89,0,0" VerticalAlignment="Top" Grid.Row="1" Width="94"/>
+        <TextBox Name="txtPhoneNumber" HorizontalAlignment="Left" Height="23" Margin="470,117,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Grid.Row="1"/>
+        <Label x:Name="label4" Content="PhoneNumber" HorizontalAlignment="Left" Margin="371,117,0,0" VerticalAlignment="Top" Grid.Row="1" Width="94"/>
+        <TextBox Name="txtCity" HorizontalAlignment="Left" Height="23" Margin="470,145,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Grid.Row="1"/>
+        <Label x:Name="label5" Content="City" HorizontalAlignment="Left" Margin="371,145,0,0" VerticalAlignment="Top" Grid.Row="1" Width="94"/>
+        <Button Content="Insert" HorizontalAlignment="Left" Margin="371,175,0,0" VerticalAlignment="Top" Width="219" Height="36" Grid.Row="1" Click="Insert_Click"/>
+        <Button Content="Update" HorizontalAlignment="Left" Margin="371,216,0,0" VerticalAlignment="Top" Width="219" Height="36" Grid.Row="1" Click="Update_Click"/>
+        <Button Content="Delete" HorizontalAlignment="Left" Margin="371,257,0,0" VerticalAlignment="Top" Width="219" Height="36" Grid.Row="1" Click="Delete_Click"/>
+    </Grid>
+</Page>

+ 64 - 0
Logistics application/SenderList.xaml.cs

@@ -0,0 +1,64 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace Logistics_application
+{
+    /// <summary>
+    /// Логика взаимодействия для SenderList.xaml
+    /// </summary>
+    public partial class SenderList : Page
+    {
+        gr682_ggi3Entities1 db = new gr682_ggi3Entities1();
+        public SenderList()
+        {
+            InitializeComponent();
+        }
+
+        private void Insert_Click(object sender, RoutedEventArgs e)
+        {
+            Sender senderT = new Sender();
+            senderT.Surname = txtSurname.Text;
+            senderT.Name = txtName.Text;
+            senderT.MiddleName = txtMiddleName.Text;
+            senderT.PhoneNumber = txtPhoneNumber.Text;
+            senderT.City = txtCity.Text;
+            db.Sender.Add(senderT);
+            db.SaveChanges();
+            table.ItemsSource = db.Sender.ToList();
+        }
+
+        private void Update_Click(object sender, RoutedEventArgs e)
+        {
+            int num = Convert.ToInt32(txtID.Text);
+            var uRow = db.Sender.Where(w => w.ID_Sender == num).FirstOrDefault();
+            uRow.Surname = txtSurname.Text;
+            uRow.Name = txtName.Text;
+            uRow.MiddleName = txtMiddleName.Text;
+            uRow.PhoneNumber = txtPhoneNumber.Text;
+            uRow.City = txtCity.Text;
+            db.SaveChanges();
+            table.ItemsSource = db.Sender.ToList();
+        }
+
+        private void Delete_Click(object sender, RoutedEventArgs e)
+        {
+            int num = Convert.ToInt32(txtID.Text);
+            var dRow = db.Sender.Where(w => w.ID_Sender == num).FirstOrDefault();
+            db.Sender.Remove(dRow);
+            db.SaveChanges();
+            table.ItemsSource = db.Sender.ToList();
+        }
+    }
+}

BIN
Logistics application/bin/Debug/Logistics application.exe


BIN
Logistics application/bin/Debug/Logistics application.pdb


BIN
Logistics application/obj/Debug/AddresseeList.baml


+ 75 - 0
Logistics application/obj/Debug/AddresseeList.g.cs

@@ -0,0 +1,75 @@
+#pragma checksum "..\..\AddresseeList.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6216910D463253F263F0E1A58B4195992E3ABB4041F4D04708B3A0A87BF4C88E"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using Logistics_application;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace Logistics_application {
+    
+    
+    /// <summary>
+    /// AddresseeList
+    /// </summary>
+    public partial class AddresseeList : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/Logistics application;component/addresseelist.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\AddresseeList.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 75 - 0
Logistics application/obj/Debug/AddresseeList.g.i.cs

@@ -0,0 +1,75 @@
+#pragma checksum "..\..\AddresseeList.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6216910D463253F263F0E1A58B4195992E3ABB4041F4D04708B3A0A87BF4C88E"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using Logistics_application;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace Logistics_application {
+    
+    
+    /// <summary>
+    /// AddresseeList
+    /// </summary>
+    public partial class AddresseeList : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/Logistics application;component/addresseelist.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\AddresseeList.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
Logistics application/obj/Debug/ConsumerСreation.baml


+ 105 - 0
Logistics application/obj/Debug/ConsumerСreation.g.cs

@@ -0,0 +1,105 @@
+#pragma checksum "..\..\ConsumerСreation.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "16F83AC2A7614953920C53551EC108685DF4DC55D1A7170519596C96DECC54E2"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using Logistics_application;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace Logistics_application {
+    
+    
+    /// <summary>
+    /// ConsumerСreation
+    /// </summary>
+    public partial class ConsumerСreation : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 25 "..\..\ConsumerСreation.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Frame MainFrame;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/Logistics application;component/consumer%d0%a1reation.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\ConsumerСreation.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 23 "..\..\ConsumerСreation.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SenderList_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            
+            #line 24 "..\..\ConsumerСreation.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddresseeList_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.MainFrame = ((System.Windows.Controls.Frame)(target));
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 105 - 0
Logistics application/obj/Debug/ConsumerСreation.g.i.cs

@@ -0,0 +1,105 @@
+#pragma checksum "..\..\ConsumerСreation.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "16F83AC2A7614953920C53551EC108685DF4DC55D1A7170519596C96DECC54E2"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using Logistics_application;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace Logistics_application {
+    
+    
+    /// <summary>
+    /// ConsumerСreation
+    /// </summary>
+    public partial class ConsumerСreation : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 25 "..\..\ConsumerСreation.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Frame MainFrame;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/Logistics application;component/consumer%d0%a1reation.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\ConsumerСreation.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 23 "..\..\ConsumerСreation.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SenderList_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            
+            #line 24 "..\..\ConsumerСreation.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddresseeList_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.MainFrame = ((System.Windows.Controls.Frame)(target));
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
Logistics application/obj/Debug/DesignTimeResolveAssemblyReferences.cache


BIN
Logistics application/obj/Debug/LoginApplication.baml


+ 5 - 5
Logistics application/obj/Debug/LoginApplication.g.cs

@@ -1,4 +1,4 @@
-#pragma checksum "..\..\LoginApplication.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "5CFF53DB326C899AB94D9CF2BB29FF5494D1CC255F0BB0D3493DE381C5178D6F"
+#pragma checksum "..\..\LoginApplication.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "874F0EF465CDC5B6475D7C946278C2140F487FE5D12B12B8F3F0FAA5D0CAD0C0"
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     Этот код создан программой.
@@ -41,7 +41,7 @@ namespace Logistics_application {
     public partial class LoginApplication : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
         
         
-        #line 12 "..\..\LoginApplication.xaml"
+        #line 17 "..\..\LoginApplication.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.TextBox loginbox;
         
@@ -49,7 +49,7 @@ namespace Logistics_application {
         #line hidden
         
         
-        #line 14 "..\..\LoginApplication.xaml"
+        #line 19 "..\..\LoginApplication.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.PasswordBox passwordbox;
         
@@ -94,8 +94,8 @@ namespace Logistics_application {
             return;
             case 3:
             
-            #line 15 "..\..\LoginApplication.xaml"
-            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
+            #line 20 "..\..\LoginApplication.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Entry_Click);
             
             #line default
             #line hidden

+ 5 - 5
Logistics application/obj/Debug/LoginApplication.g.i.cs

@@ -1,4 +1,4 @@
-#pragma checksum "..\..\LoginApplication.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "5CFF53DB326C899AB94D9CF2BB29FF5494D1CC255F0BB0D3493DE381C5178D6F"
+#pragma checksum "..\..\LoginApplication.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "874F0EF465CDC5B6475D7C946278C2140F487FE5D12B12B8F3F0FAA5D0CAD0C0"
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     Этот код создан программой.
@@ -41,7 +41,7 @@ namespace Logistics_application {
     public partial class LoginApplication : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
         
         
-        #line 12 "..\..\LoginApplication.xaml"
+        #line 17 "..\..\LoginApplication.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.TextBox loginbox;
         
@@ -49,7 +49,7 @@ namespace Logistics_application {
         #line hidden
         
         
-        #line 14 "..\..\LoginApplication.xaml"
+        #line 19 "..\..\LoginApplication.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.PasswordBox passwordbox;
         
@@ -94,8 +94,8 @@ namespace Logistics_application {
             return;
             case 3:
             
-            #line 15 "..\..\LoginApplication.xaml"
-            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
+            #line 20 "..\..\LoginApplication.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Entry_Click);
             
             #line default
             #line hidden

+ 1 - 1
Logistics application/obj/Debug/Logistics application.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-f92172d28e818845e491e0891d1297399eb37670
+6245157b5ec765fce489c6aa0db8d4b9c6815c7c

+ 8 - 0
Logistics application/obj/Debug/Logistics application.csproj.FileListAbsolute.txt

@@ -24,3 +24,11 @@ Z:\3 Курс\ТИС\Курсовая\Приложение\Logistics application
 Z:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\obj\Debug\Logistics application.csproj.CopyComplete
 Z:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\obj\Debug\Logistics application.exe
 Z:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\obj\Debug\Logistics application.pdb
+Z:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\obj\Debug\AddresseeList.g.cs
+Z:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\obj\Debug\ConsumerСreation.g.cs
+Z:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\obj\Debug\OrderCreation.g.cs
+Z:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\obj\Debug\SenderList.g.cs
+Z:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\obj\Debug\AddresseeList.baml
+Z:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\obj\Debug\ConsumerСreation.baml
+Z:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\obj\Debug\OrderCreation.baml
+Z:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\obj\Debug\SenderList.baml

BIN
Logistics application/obj/Debug/Logistics application.csprojAssemblyReference.cache


BIN
Logistics application/obj/Debug/Logistics application.exe


BIN
Logistics application/obj/Debug/Logistics application.g.resources


BIN
Logistics application/obj/Debug/Logistics application.pdb


+ 3 - 3
Logistics application/obj/Debug/Logistics application_MarkupCompile.cache

@@ -10,11 +10,11 @@ none
 false
 DEBUG;TRACE
 Z:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\App.xaml
-3-1406053133
+71944695030
 2-442804305
-18-782876341
+22-1587207869
 18-2005204088
-LoginApplication.xaml;MainMenu.xaml;MainWindow.xaml;
+AddresseeList.xaml;ConsumerСreation.xaml;LoginApplication.xaml;MainMenu.xaml;MainWindow.xaml;OrderCreation.xaml;SenderList.xaml;
 
 False
 

+ 3 - 3
Logistics application/obj/Debug/Logistics application_MarkupCompile.i.cache

@@ -10,11 +10,11 @@ none
 false
 DEBUG;TRACE
 Z:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\App.xaml
-3-1406053133
+71944695030
 2-442804305
-19-1625235708
+231865400060
 18-2005204088
-LoginApplication.xaml;MainMenu.xaml;MainWindow.xaml;
+AddresseeList.xaml;ConsumerСreation.xaml;LoginApplication.xaml;MainMenu.xaml;MainWindow.xaml;OrderCreation.xaml;SenderList.xaml;
 
 True
 

+ 0 - 1
Logistics application/obj/Debug/Logistics application_MarkupCompile.i.lref

@@ -1,5 +1,4 @@
 
 
-FZ:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\MainMenu.xaml;;
 FZ:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\MainWindow.xaml;;
 

+ 4 - 0
Logistics application/obj/Debug/Logistics application_MarkupCompile.lref

@@ -3,4 +3,8 @@
 FZ:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\LoginApplication.xaml;;
 FZ:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\MainMenu.xaml;;
 FZ:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\MainWindow.xaml;;
+FZ:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\AddresseeList.xaml;;
+FZ:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\ConsumerСreation.xaml;;
+FZ:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\OrderCreation.xaml;;
+FZ:\3 Курс\ТИС\Курсовая\Приложение\Logistics application\Logistics application\SenderList.xaml;;
 

BIN
Logistics application/obj/Debug/MainMenu.baml


+ 31 - 1
Logistics application/obj/Debug/MainMenu.g.cs

@@ -1,4 +1,4 @@
-#pragma checksum "..\..\MainMenu.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "8A9FE60A18912332DF807318E23F409EA4A7D9F18674E1F460F4D6D2F87F2408"
+#pragma checksum "..\..\MainMenu.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "533AE610A5F13F66D1FAB0BA299224F683AE1D1E33D5A4830A21EE7174573417"
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     Этот код создан программой.
@@ -40,6 +40,14 @@ namespace Logistics_application {
     /// </summary>
     public partial class MainMenu : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
         
+        
+        #line 17 "..\..\MainMenu.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Frame MainFrame;
+        
+        #line default
+        #line hidden
+        
         private bool _contentLoaded;
         
         /// <summary>
@@ -68,6 +76,28 @@ namespace Logistics_application {
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
         void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.MainFrame = ((System.Windows.Controls.Frame)(target));
+            return;
+            case 2:
+            
+            #line 19 "..\..\MainMenu.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ConsumerCreation_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            
+            #line 20 "..\..\MainMenu.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OrderCreation_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
             this._contentLoaded = true;
         }
     }

+ 31 - 1
Logistics application/obj/Debug/MainMenu.g.i.cs

@@ -1,4 +1,4 @@
-#pragma checksum "..\..\MainMenu.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "8A9FE60A18912332DF807318E23F409EA4A7D9F18674E1F460F4D6D2F87F2408"
+#pragma checksum "..\..\MainMenu.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "533AE610A5F13F66D1FAB0BA299224F683AE1D1E33D5A4830A21EE7174573417"
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     Этот код создан программой.
@@ -40,6 +40,14 @@ namespace Logistics_application {
     /// </summary>
     public partial class MainMenu : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
         
+        
+        #line 17 "..\..\MainMenu.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Frame MainFrame;
+        
+        #line default
+        #line hidden
+        
         private bool _contentLoaded;
         
         /// <summary>
@@ -68,6 +76,28 @@ namespace Logistics_application {
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
         void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.MainFrame = ((System.Windows.Controls.Frame)(target));
+            return;
+            case 2:
+            
+            #line 19 "..\..\MainMenu.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ConsumerCreation_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            
+            #line 20 "..\..\MainMenu.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OrderCreation_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
             this._contentLoaded = true;
         }
     }

BIN
Logistics application/obj/Debug/MainWindow.baml


+ 33 - 2
Logistics application/obj/Debug/MainWindow.g.cs

@@ -1,4 +1,4 @@
-#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "CE04A148CE91A6549D8F0DE9936AC54F4047D5E0669A48E3FAB299646E4AB8B1"
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "329FA623921A49F8E12449400A2A3E19AB3792B5E4F0A4EB35CA20C04E1C0103"
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     Этот код создан программой.
@@ -41,7 +41,15 @@ namespace Logistics_application {
     public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
         
         
-        #line 11 "..\..\MainWindow.xaml"
+        #line 13 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button ButtonBack_Click;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 15 "..\..\MainWindow.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.Frame MainFrame;
         
@@ -79,7 +87,30 @@ namespace Logistics_application {
             switch (connectionId)
             {
             case 1:
+            
+            #line 11 "..\..\MainWindow.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Сlose_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.ButtonBack_Click = ((System.Windows.Controls.Button)(target));
+            
+            #line 13 "..\..\MainWindow.xaml"
+            this.ButtonBack_Click.Click += new System.Windows.RoutedEventHandler(this.Back_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
             this.MainFrame = ((System.Windows.Controls.Frame)(target));
+            
+            #line 15 "..\..\MainWindow.xaml"
+            this.MainFrame.ContentRendered += new System.EventHandler(this.MainFrame_ContentRendered);
+            
+            #line default
+            #line hidden
             return;
             }
             this._contentLoaded = true;

+ 33 - 2
Logistics application/obj/Debug/MainWindow.g.i.cs

@@ -1,4 +1,4 @@
-#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "CE04A148CE91A6549D8F0DE9936AC54F4047D5E0669A48E3FAB299646E4AB8B1"
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "329FA623921A49F8E12449400A2A3E19AB3792B5E4F0A4EB35CA20C04E1C0103"
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     Этот код создан программой.
@@ -41,7 +41,15 @@ namespace Logistics_application {
     public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
         
         
-        #line 11 "..\..\MainWindow.xaml"
+        #line 13 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button ButtonBack_Click;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 15 "..\..\MainWindow.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.Frame MainFrame;
         
@@ -79,7 +87,30 @@ namespace Logistics_application {
             switch (connectionId)
             {
             case 1:
+            
+            #line 11 "..\..\MainWindow.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Сlose_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.ButtonBack_Click = ((System.Windows.Controls.Button)(target));
+            
+            #line 13 "..\..\MainWindow.xaml"
+            this.ButtonBack_Click.Click += new System.Windows.RoutedEventHandler(this.Back_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
             this.MainFrame = ((System.Windows.Controls.Frame)(target));
+            
+            #line 15 "..\..\MainWindow.xaml"
+            this.MainFrame.ContentRendered += new System.EventHandler(this.MainFrame_ContentRendered);
+            
+            #line default
+            #line hidden
             return;
             }
             this._contentLoaded = true;

BIN
Logistics application/obj/Debug/OrderCreation.baml


+ 75 - 0
Logistics application/obj/Debug/OrderCreation.g.cs

@@ -0,0 +1,75 @@
+#pragma checksum "..\..\OrderCreation.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "419C04C4CAEB78A9245923B7779F53D41EEAC3EE5CA60BA471F8A1AAED5F6DB3"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using Logistics_application;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace Logistics_application {
+    
+    
+    /// <summary>
+    /// OrderCreation
+    /// </summary>
+    public partial class OrderCreation : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/Logistics application;component/ordercreation.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\OrderCreation.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 75 - 0
Logistics application/obj/Debug/OrderCreation.g.i.cs

@@ -0,0 +1,75 @@
+#pragma checksum "..\..\OrderCreation.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "419C04C4CAEB78A9245923B7779F53D41EEAC3EE5CA60BA471F8A1AAED5F6DB3"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using Logistics_application;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace Logistics_application {
+    
+    
+    /// <summary>
+    /// OrderCreation
+    /// </summary>
+    public partial class OrderCreation : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/Logistics application;component/ordercreation.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\OrderCreation.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
Logistics application/obj/Debug/SenderList.baml


+ 245 - 0
Logistics application/obj/Debug/SenderList.g.cs

@@ -0,0 +1,245 @@
+#pragma checksum "..\..\SenderList.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "92625CA92A22E4897F19D12EB000F052B55B3396DCDC2519DBF36F37D436BC04"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using Logistics_application;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace Logistics_application {
+    
+    
+    /// <summary>
+    /// SenderList
+    /// </summary>
+    public partial class SenderList : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 17 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.DataGrid table;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 28 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox txtID;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 29 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Label label;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 30 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox txtSurname;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 31 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Label label1;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 32 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox txtName;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 33 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Label label2;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 34 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox txtMiddleName;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 35 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Label label3;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 36 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox txtPhoneNumber;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 37 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Label label4;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 38 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox txtCity;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 39 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Label label5;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/Logistics application;component/senderlist.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\SenderList.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.table = ((System.Windows.Controls.DataGrid)(target));
+            return;
+            case 2:
+            this.txtID = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 3:
+            this.label = ((System.Windows.Controls.Label)(target));
+            return;
+            case 4:
+            this.txtSurname = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 5:
+            this.label1 = ((System.Windows.Controls.Label)(target));
+            return;
+            case 6:
+            this.txtName = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 7:
+            this.label2 = ((System.Windows.Controls.Label)(target));
+            return;
+            case 8:
+            this.txtMiddleName = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 9:
+            this.label3 = ((System.Windows.Controls.Label)(target));
+            return;
+            case 10:
+            this.txtPhoneNumber = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 11:
+            this.label4 = ((System.Windows.Controls.Label)(target));
+            return;
+            case 12:
+            this.txtCity = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 13:
+            this.label5 = ((System.Windows.Controls.Label)(target));
+            return;
+            case 14:
+            
+            #line 40 "..\..\SenderList.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Insert_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 15:
+            
+            #line 41 "..\..\SenderList.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Update_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 16:
+            
+            #line 42 "..\..\SenderList.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 245 - 0
Logistics application/obj/Debug/SenderList.g.i.cs

@@ -0,0 +1,245 @@
+#pragma checksum "..\..\SenderList.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "92625CA92A22E4897F19D12EB000F052B55B3396DCDC2519DBF36F37D436BC04"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using Logistics_application;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace Logistics_application {
+    
+    
+    /// <summary>
+    /// SenderList
+    /// </summary>
+    public partial class SenderList : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 17 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.DataGrid table;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 28 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox txtID;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 29 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Label label;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 30 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox txtSurname;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 31 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Label label1;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 32 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox txtName;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 33 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Label label2;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 34 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox txtMiddleName;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 35 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Label label3;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 36 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox txtPhoneNumber;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 37 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Label label4;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 38 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox txtCity;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 39 "..\..\SenderList.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Label label5;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/Logistics application;component/senderlist.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\SenderList.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.table = ((System.Windows.Controls.DataGrid)(target));
+            return;
+            case 2:
+            this.txtID = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 3:
+            this.label = ((System.Windows.Controls.Label)(target));
+            return;
+            case 4:
+            this.txtSurname = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 5:
+            this.label1 = ((System.Windows.Controls.Label)(target));
+            return;
+            case 6:
+            this.txtName = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 7:
+            this.label2 = ((System.Windows.Controls.Label)(target));
+            return;
+            case 8:
+            this.txtMiddleName = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 9:
+            this.label3 = ((System.Windows.Controls.Label)(target));
+            return;
+            case 10:
+            this.txtPhoneNumber = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 11:
+            this.label4 = ((System.Windows.Controls.Label)(target));
+            return;
+            case 12:
+            this.txtCity = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 13:
+            this.label5 = ((System.Windows.Controls.Label)(target));
+            return;
+            case 14:
+            
+            #line 40 "..\..\SenderList.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Insert_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 15:
+            
+            #line 41 "..\..\SenderList.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Update_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 16:
+            
+            #line 42 "..\..\SenderList.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+