Prechádzať zdrojové kódy

не работает

unknown 8 mesiacov pred
rodič
commit
0deff054c5
30 zmenil súbory, kde vykonal 126 pridanie a 58 odobranie
  1. BIN
      .vs/Sessioa/FileContentIndex/01f7b105-1d29-4624-9a60-747b97f27a71.vsidx
  2. BIN
      .vs/Sessioa/FileContentIndex/56715510-18a2-41ac-b579-9345193723de.vsidx
  3. BIN
      .vs/Sessioa/FileContentIndex/60602b13-8162-448e-8ac3-3e988768661d.vsidx
  4. BIN
      .vs/Sessioa/FileContentIndex/831d59e0-b855-42e3-a824-eb6f9c5883bd.vsidx
  5. BIN
      .vs/Sessioa/FileContentIndex/b18910f7-1441-4a49-9648-6f5786493079.vsidx
  6. BIN
      .vs/Sessioa/FileContentIndex/b71fb38c-84f4-44b9-a32a-94389f1a37ba.vsidx
  7. BIN
      .vs/Sessioa/v17/.suo
  8. 1 1
      Sessioa/Pages/ProductCard.xaml
  9. 13 0
      Sessioa/Pages/ProductCard.xaml.cs
  10. 1 2
      Sessioa/Pages/ProductsPage.xaml
  11. 12 0
      Sessioa/Pages/ProductsPage.xaml.cs
  12. 1 1
      Sessioa/Sessioa.csproj.user
  13. BIN
      Sessioa/bin/Debug/Sessioa.exe
  14. BIN
      Sessioa/bin/Debug/Sessioa.pdb
  15. BIN
      Sessioa/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  16. BIN
      Sessioa/obj/Debug/Pages/ProductCard.baml
  17. 1 1
      Sessioa/obj/Debug/Pages/ProductCard.g.cs
  18. 1 1
      Sessioa/obj/Debug/Pages/ProductCard.g.i.cs
  19. BIN
      Sessioa/obj/Debug/Pages/ProductsPage.baml
  20. 27 21
      Sessioa/obj/Debug/Pages/ProductsPage.g.cs
  21. 27 21
      Sessioa/obj/Debug/Pages/ProductsPage.g.i.cs
  22. BIN
      Sessioa/obj/Debug/Sessioa.csproj.AssemblyReference.cache
  23. 1 1
      Sessioa/obj/Debug/Sessioa.csproj.CoreCompileInputs.cache
  24. 32 0
      Sessioa/obj/Debug/Sessioa.csproj.FileListAbsolute.txt
  25. BIN
      Sessioa/obj/Debug/Sessioa.csproj.GenerateResource.cache
  26. BIN
      Sessioa/obj/Debug/Sessioa.exe
  27. BIN
      Sessioa/obj/Debug/Sessioa.g.resources
  28. BIN
      Sessioa/obj/Debug/Sessioa.pdb
  29. 3 3
      Sessioa/obj/Debug/Sessioa_MarkupCompile.cache
  30. 6 6
      Sessioa/obj/Debug/Sessioa_MarkupCompile.lref

BIN
.vs/Sessioa/FileContentIndex/01f7b105-1d29-4624-9a60-747b97f27a71.vsidx


BIN
.vs/Sessioa/FileContentIndex/56715510-18a2-41ac-b579-9345193723de.vsidx


BIN
.vs/Sessioa/FileContentIndex/60602b13-8162-448e-8ac3-3e988768661d.vsidx


BIN
.vs/Sessioa/FileContentIndex/831d59e0-b855-42e3-a824-eb6f9c5883bd.vsidx


BIN
.vs/Sessioa/FileContentIndex/b18910f7-1441-4a49-9648-6f5786493079.vsidx


BIN
.vs/Sessioa/FileContentIndex/b71fb38c-84f4-44b9-a32a-94389f1a37ba.vsidx


BIN
.vs/Sessioa/v17/.suo


+ 1 - 1
Sessioa/Pages/ProductCard.xaml

@@ -28,7 +28,7 @@
                 </StackPanel>
                 <TextBox x:Name="TB_Articule" DataContext="Артикул" Style="{StaticResource TextBox}" Margin="5" MinHeight="40"/>
                 <TextBox x:Name="TB_Title" DataContext="Название" Style="{StaticResource TextBox}" Margin="5" MinHeight="40"/>
-                <TextBox x:Name="TB_Description" DataContext="Описание" Style="{StaticResource TextBox}" Margin="5" MinHeight="40"/>
+                <TextBox x:Name="TB_Description" DataContext="Описание" Style="{StaticResource TextBox}" Margin="5" MinHeight="40" TextWrapping="Wrap"/>
                 <TextBlock Text="Категория" Style="{StaticResource TextBlock}"/>
                 <ComboBox Name="CategoryProd" Margin="5" MinHeight="40"/>
                 <TextBlock Text="Производитель" Style="{StaticResource TextBlock}"/>

+ 13 - 0
Sessioa/Pages/ProductCard.xaml.cs

@@ -48,6 +48,19 @@ namespace Sessioa.Pages
             ProviderProd.SelectedValuePath = "ProviderId";
 
         }
+        public ProductCard(User userSign, Product product)
+        {
+            InitializeComponent();
+            TB_Articule.Text = product.ProductArticleNumber;
+            TB_Title.Text = product.ProductName;
+            TB_Description.Text = product.ProductDescription;
+
+            CategoryProd.ItemsSource = categories;
+            CategoryProd.DisplayMemberPath = "CategoryTitle";
+            CategoryProd.SelectedValuePath = "CategoryId";
+
+            CategoryProd.SelectedItem = categories[product.ProductCategory + 1];
+        }
 
         private void BT_save_Click(object sender, RoutedEventArgs e)
         {

+ 1 - 2
Sessioa/Pages/ProductsPage.xaml

@@ -43,7 +43,6 @@
                                 </StackPanel>
                             </StackPanel>
                             <TextBlock Name="Discount" Loaded="Discount_Loaded" Uid="{Binding ProductArticleNumber}" Style="{StaticResource TextBlock}" Grid.Column="2" VerticalAlignment="Center"/>
-                            
                         </Grid>
                     </Border>
                 </DataTemplate>
@@ -51,7 +50,7 @@
             <ListBox.ContextMenu>
                 <ContextMenu Loaded="ContextMenu_Loaded">
                     <MenuItem Name="AddOrder" Header="Добавить к заказу"/>
-                    <MenuItem Name="EditProduct" Header="Редактировать" Loaded="EditProduct_Loaded"/>
+                    <MenuItem Name="EditProduct" Header="Редактировать" Loaded="EditProduct_Loaded" Click="EditProduct_Click"/>
                     <MenuItem Name="DeleteProduct" Header="Удалить" Loaded="DeleteProduct_Loaded"/>
                 </ContextMenu>
             </ListBox.ContextMenu>

+ 12 - 0
Sessioa/Pages/ProductsPage.xaml.cs

@@ -174,5 +174,17 @@ namespace Sessioa.Pages
             if (user != null && user.UserRole == 2)
                 btn.Visibility = Visibility.Visible;
         }
+
+        private void EditProduct_Click(object sender, RoutedEventArgs e)
+        {
+            try
+            {
+                FrameClass.C_Frame.Navigate(new ProductCard(user, (Product)LB_Product.SelectedItem));
+            }
+            catch 
+            {
+                MessageBox.Show("Продукт не выбран.");
+            }
+        }
     }
 }

+ 1 - 1
Sessioa/Sessioa.csproj.user

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <PropertyGroup>
-    <ProjectView>ShowAllFiles</ProjectView>
+    <ProjectView>ProjectFiles</ProjectView>
   </PropertyGroup>
 </Project>

BIN
Sessioa/bin/Debug/Sessioa.exe


BIN
Sessioa/bin/Debug/Sessioa.pdb


BIN
Sessioa/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache


BIN
Sessioa/obj/Debug/Pages/ProductCard.baml


+ 1 - 1
Sessioa/obj/Debug/Pages/ProductCard.g.cs

@@ -1,4 +1,4 @@
-#pragma checksum "..\..\..\Pages\ProductCard.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "C12E996270AF82430745A74096431A1BDC73F7D9247A3263E9144EFB86278A45"
+#pragma checksum "..\..\..\Pages\ProductCard.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "0F2472B95524B253AC59B50DD7E36A6B5591AC35FA60E6B61EE9461EB31E662E"
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     Этот код создан программой.

+ 1 - 1
Sessioa/obj/Debug/Pages/ProductCard.g.i.cs

@@ -1,4 +1,4 @@
-#pragma checksum "..\..\..\Pages\ProductCard.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "C12E996270AF82430745A74096431A1BDC73F7D9247A3263E9144EFB86278A45"
+#pragma checksum "..\..\..\Pages\ProductCard.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "0F2472B95524B253AC59B50DD7E36A6B5591AC35FA60E6B61EE9461EB31E662E"
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     Этот код создан программой.

BIN
Sessioa/obj/Debug/Pages/ProductsPage.baml


+ 27 - 21
Sessioa/obj/Debug/Pages/ProductsPage.g.cs

@@ -1,4 +1,4 @@
-#pragma checksum "..\..\..\Pages\ProductsPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E99C7748E261B4572884D2F479AA34C5D697210FF8229A45D4652EAB5466A13A"
+#pragma checksum "..\..\..\Pages\ProductsPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "2DECD283D507DA90ADCDA97B727A58B24E7AD322969335950F14BDD23D4CC1E2"
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     Этот код создан программой.
@@ -49,7 +49,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 53 "..\..\..\Pages\ProductsPage.xaml"
+        #line 52 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.MenuItem AddOrder;
         
@@ -57,7 +57,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 54 "..\..\..\Pages\ProductsPage.xaml"
+        #line 53 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.MenuItem EditProduct;
         
@@ -65,7 +65,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 55 "..\..\..\Pages\ProductsPage.xaml"
+        #line 54 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.MenuItem DeleteProduct;
         
@@ -73,7 +73,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 65 "..\..\..\Pages\ProductsPage.xaml"
+        #line 64 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.TextBox SearchTB;
         
@@ -81,7 +81,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 66 "..\..\..\Pages\ProductsPage.xaml"
+        #line 65 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.ComboBox CB_Sort;
         
@@ -89,7 +89,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 67 "..\..\..\Pages\ProductsPage.xaml"
+        #line 66 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.ComboBox CB_Filtr;
         
@@ -97,7 +97,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 70 "..\..\..\Pages\ProductsPage.xaml"
+        #line 69 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.TextBlock TB_CountActual;
         
@@ -105,7 +105,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 72 "..\..\..\Pages\ProductsPage.xaml"
+        #line 71 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.TextBlock TB_CountAll;
         
@@ -113,7 +113,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 74 "..\..\..\Pages\ProductsPage.xaml"
+        #line 73 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.TextBlock UserSign;
         
@@ -121,7 +121,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 76 "..\..\..\Pages\ProductsPage.xaml"
+        #line 75 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.Button SignOf;
         
@@ -129,7 +129,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 77 "..\..\..\Pages\ProductsPage.xaml"
+        #line 76 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.Button NewProduct;
         
@@ -171,7 +171,7 @@ namespace Sessioa.Pages {
             return;
             case 6:
             
-            #line 52 "..\..\..\Pages\ProductsPage.xaml"
+            #line 51 "..\..\..\Pages\ProductsPage.xaml"
             ((System.Windows.Controls.ContextMenu)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ContextMenu_Loaded);
             
             #line default
@@ -183,16 +183,22 @@ namespace Sessioa.Pages {
             case 8:
             this.EditProduct = ((System.Windows.Controls.MenuItem)(target));
             
-            #line 54 "..\..\..\Pages\ProductsPage.xaml"
+            #line 53 "..\..\..\Pages\ProductsPage.xaml"
             this.EditProduct.Loaded += new System.Windows.RoutedEventHandler(this.EditProduct_Loaded);
             
+            #line default
+            #line hidden
+            
+            #line 53 "..\..\..\Pages\ProductsPage.xaml"
+            this.EditProduct.Click += new System.Windows.RoutedEventHandler(this.EditProduct_Click);
+            
             #line default
             #line hidden
             return;
             case 9:
             this.DeleteProduct = ((System.Windows.Controls.MenuItem)(target));
             
-            #line 55 "..\..\..\Pages\ProductsPage.xaml"
+            #line 54 "..\..\..\Pages\ProductsPage.xaml"
             this.DeleteProduct.Loaded += new System.Windows.RoutedEventHandler(this.DeleteProduct_Loaded);
             
             #line default
@@ -201,7 +207,7 @@ namespace Sessioa.Pages {
             case 10:
             this.SearchTB = ((System.Windows.Controls.TextBox)(target));
             
-            #line 65 "..\..\..\Pages\ProductsPage.xaml"
+            #line 64 "..\..\..\Pages\ProductsPage.xaml"
             this.SearchTB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SearchTB_TextChanged);
             
             #line default
@@ -210,7 +216,7 @@ namespace Sessioa.Pages {
             case 11:
             this.CB_Sort = ((System.Windows.Controls.ComboBox)(target));
             
-            #line 66 "..\..\..\Pages\ProductsPage.xaml"
+            #line 65 "..\..\..\Pages\ProductsPage.xaml"
             this.CB_Sort.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CB_Sort_SelectionChanged);
             
             #line default
@@ -219,7 +225,7 @@ namespace Sessioa.Pages {
             case 12:
             this.CB_Filtr = ((System.Windows.Controls.ComboBox)(target));
             
-            #line 67 "..\..\..\Pages\ProductsPage.xaml"
+            #line 66 "..\..\..\Pages\ProductsPage.xaml"
             this.CB_Filtr.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CB_Filtr_SelectionChanged);
             
             #line default
@@ -237,7 +243,7 @@ namespace Sessioa.Pages {
             case 16:
             this.SignOf = ((System.Windows.Controls.Button)(target));
             
-            #line 76 "..\..\..\Pages\ProductsPage.xaml"
+            #line 75 "..\..\..\Pages\ProductsPage.xaml"
             this.SignOf.Click += new System.Windows.RoutedEventHandler(this.SignOf_Click);
             
             #line default
@@ -246,13 +252,13 @@ namespace Sessioa.Pages {
             case 17:
             this.NewProduct = ((System.Windows.Controls.Button)(target));
             
-            #line 77 "..\..\..\Pages\ProductsPage.xaml"
+            #line 76 "..\..\..\Pages\ProductsPage.xaml"
             this.NewProduct.Click += new System.Windows.RoutedEventHandler(this.NewProduct_Click);
             
             #line default
             #line hidden
             
-            #line 77 "..\..\..\Pages\ProductsPage.xaml"
+            #line 76 "..\..\..\Pages\ProductsPage.xaml"
             this.NewProduct.Loaded += new System.Windows.RoutedEventHandler(this.NewProduct_Loaded);
             
             #line default

+ 27 - 21
Sessioa/obj/Debug/Pages/ProductsPage.g.i.cs

@@ -1,4 +1,4 @@
-#pragma checksum "..\..\..\Pages\ProductsPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E99C7748E261B4572884D2F479AA34C5D697210FF8229A45D4652EAB5466A13A"
+#pragma checksum "..\..\..\Pages\ProductsPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "2DECD283D507DA90ADCDA97B727A58B24E7AD322969335950F14BDD23D4CC1E2"
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     Этот код создан программой.
@@ -49,7 +49,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 53 "..\..\..\Pages\ProductsPage.xaml"
+        #line 52 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.MenuItem AddOrder;
         
@@ -57,7 +57,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 54 "..\..\..\Pages\ProductsPage.xaml"
+        #line 53 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.MenuItem EditProduct;
         
@@ -65,7 +65,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 55 "..\..\..\Pages\ProductsPage.xaml"
+        #line 54 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.MenuItem DeleteProduct;
         
@@ -73,7 +73,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 65 "..\..\..\Pages\ProductsPage.xaml"
+        #line 64 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.TextBox SearchTB;
         
@@ -81,7 +81,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 66 "..\..\..\Pages\ProductsPage.xaml"
+        #line 65 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.ComboBox CB_Sort;
         
@@ -89,7 +89,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 67 "..\..\..\Pages\ProductsPage.xaml"
+        #line 66 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.ComboBox CB_Filtr;
         
@@ -97,7 +97,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 70 "..\..\..\Pages\ProductsPage.xaml"
+        #line 69 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.TextBlock TB_CountActual;
         
@@ -105,7 +105,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 72 "..\..\..\Pages\ProductsPage.xaml"
+        #line 71 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.TextBlock TB_CountAll;
         
@@ -113,7 +113,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 74 "..\..\..\Pages\ProductsPage.xaml"
+        #line 73 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.TextBlock UserSign;
         
@@ -121,7 +121,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 76 "..\..\..\Pages\ProductsPage.xaml"
+        #line 75 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.Button SignOf;
         
@@ -129,7 +129,7 @@ namespace Sessioa.Pages {
         #line hidden
         
         
-        #line 77 "..\..\..\Pages\ProductsPage.xaml"
+        #line 76 "..\..\..\Pages\ProductsPage.xaml"
         [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
         internal System.Windows.Controls.Button NewProduct;
         
@@ -171,7 +171,7 @@ namespace Sessioa.Pages {
             return;
             case 6:
             
-            #line 52 "..\..\..\Pages\ProductsPage.xaml"
+            #line 51 "..\..\..\Pages\ProductsPage.xaml"
             ((System.Windows.Controls.ContextMenu)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ContextMenu_Loaded);
             
             #line default
@@ -183,16 +183,22 @@ namespace Sessioa.Pages {
             case 8:
             this.EditProduct = ((System.Windows.Controls.MenuItem)(target));
             
-            #line 54 "..\..\..\Pages\ProductsPage.xaml"
+            #line 53 "..\..\..\Pages\ProductsPage.xaml"
             this.EditProduct.Loaded += new System.Windows.RoutedEventHandler(this.EditProduct_Loaded);
             
+            #line default
+            #line hidden
+            
+            #line 53 "..\..\..\Pages\ProductsPage.xaml"
+            this.EditProduct.Click += new System.Windows.RoutedEventHandler(this.EditProduct_Click);
+            
             #line default
             #line hidden
             return;
             case 9:
             this.DeleteProduct = ((System.Windows.Controls.MenuItem)(target));
             
-            #line 55 "..\..\..\Pages\ProductsPage.xaml"
+            #line 54 "..\..\..\Pages\ProductsPage.xaml"
             this.DeleteProduct.Loaded += new System.Windows.RoutedEventHandler(this.DeleteProduct_Loaded);
             
             #line default
@@ -201,7 +207,7 @@ namespace Sessioa.Pages {
             case 10:
             this.SearchTB = ((System.Windows.Controls.TextBox)(target));
             
-            #line 65 "..\..\..\Pages\ProductsPage.xaml"
+            #line 64 "..\..\..\Pages\ProductsPage.xaml"
             this.SearchTB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SearchTB_TextChanged);
             
             #line default
@@ -210,7 +216,7 @@ namespace Sessioa.Pages {
             case 11:
             this.CB_Sort = ((System.Windows.Controls.ComboBox)(target));
             
-            #line 66 "..\..\..\Pages\ProductsPage.xaml"
+            #line 65 "..\..\..\Pages\ProductsPage.xaml"
             this.CB_Sort.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CB_Sort_SelectionChanged);
             
             #line default
@@ -219,7 +225,7 @@ namespace Sessioa.Pages {
             case 12:
             this.CB_Filtr = ((System.Windows.Controls.ComboBox)(target));
             
-            #line 67 "..\..\..\Pages\ProductsPage.xaml"
+            #line 66 "..\..\..\Pages\ProductsPage.xaml"
             this.CB_Filtr.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CB_Filtr_SelectionChanged);
             
             #line default
@@ -237,7 +243,7 @@ namespace Sessioa.Pages {
             case 16:
             this.SignOf = ((System.Windows.Controls.Button)(target));
             
-            #line 76 "..\..\..\Pages\ProductsPage.xaml"
+            #line 75 "..\..\..\Pages\ProductsPage.xaml"
             this.SignOf.Click += new System.Windows.RoutedEventHandler(this.SignOf_Click);
             
             #line default
@@ -246,13 +252,13 @@ namespace Sessioa.Pages {
             case 17:
             this.NewProduct = ((System.Windows.Controls.Button)(target));
             
-            #line 77 "..\..\..\Pages\ProductsPage.xaml"
+            #line 76 "..\..\..\Pages\ProductsPage.xaml"
             this.NewProduct.Click += new System.Windows.RoutedEventHandler(this.NewProduct_Click);
             
             #line default
             #line hidden
             
-            #line 77 "..\..\..\Pages\ProductsPage.xaml"
+            #line 76 "..\..\..\Pages\ProductsPage.xaml"
             this.NewProduct.Loaded += new System.Windows.RoutedEventHandler(this.NewProduct_Loaded);
             
             #line default

BIN
Sessioa/obj/Debug/Sessioa.csproj.AssemblyReference.cache


+ 1 - 1
Sessioa/obj/Debug/Sessioa.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-88a31a73f83fb02b8afb7158983e1ae5ecd46a49
+76c483d856c1514e502e18a24cd165e7142de0a3

+ 32 - 0
Sessioa/obj/Debug/Sessioa.csproj.FileListAbsolute.txt

@@ -30,3 +30,35 @@
 \\main\RDP\43П\шечковано\Desktop\gg\Sessioa\Sessioa\obj\Debug\Pages\ProductCard.g.cs
 \\main\RDP\43П\шечковано\Desktop\gg\Sessioa\Sessioa\obj\Debug\Pages\OrderNew.baml
 \\main\RDP\43П\шечковано\Desktop\gg\Sessioa\Sessioa\obj\Debug\Pages\ProductCard.baml
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\bin\Debug\Sessioa.exe.config
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\bin\Debug\Sessioa.exe
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\bin\Debug\Sessioa.pdb
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\bin\Debug\EntityFramework.dll
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\bin\Debug\EntityFramework.SqlServer.dll
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\bin\Debug\EntityFramework.xml
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\bin\Debug\EntityFramework.SqlServer.xml
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\bin\Debug\ru\EntityFramework.resources.dll
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Sessioa.csproj.AssemblyReference.cache
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Sessioa.csproj.SuggestedBindingRedirects.cache
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\MainWindow.g.cs
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Pages\Autorization.g.cs
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Pages\OrderNew.g.cs
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Pages\ProductCard.g.cs
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Pages\ProductsPage.g.cs
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\App.g.cs
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Sessioa_Content.g.cs
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Sessioa_MarkupCompile.cache
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Sessioa_MarkupCompile.lref
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\App.baml
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\MainWindow.baml
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Pages\Autorization.baml
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Pages\OrderNew.baml
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Pages\ProductCard.baml
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Pages\ProductsPage.baml
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Sessioa.g.resources
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Sessioa.Properties.Resources.resources
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Sessioa.csproj.GenerateResource.cache
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Sessioa.csproj.CoreCompileInputs.cache
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Sessioa.csproj.CopyComplete
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Sessioa.exe
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\Sessioa.pdb

BIN
Sessioa/obj/Debug/Sessioa.csproj.GenerateResource.cache


BIN
Sessioa/obj/Debug/Sessioa.exe


BIN
Sessioa/obj/Debug/Sessioa.g.resources


BIN
Sessioa/obj/Debug/Sessioa.pdb


+ 3 - 3
Sessioa/obj/Debug/Sessioa_MarkupCompile.cache

@@ -4,16 +4,16 @@
 winexe
 C#
 .cs
-\\main\RDP\43П\шечковано\Desktop\gg\Sessioa\Sessioa\obj\Debug\
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\obj\Debug\
 Sessioa
 none
 false
 DEBUG;TRACE
-\\main\RDP\43П\шечковано\Desktop\gg\Sessioa\Sessioa\App.xaml
+C:\Users\шечковано\Downloads\UP_wpf\Sessioa\App.xaml
 5-748272788
 2-1121443055
 24728438797
-20-1101847567
+20-1197076445
 MainWindow.xaml;Pages\Autorization.xaml;Pages\OrderNew.xaml;Pages\ProductCard.xaml;Pages\ProductsPage.xaml;
 
 False

+ 6 - 6
Sessioa/obj/Debug/Sessioa_MarkupCompile.lref

@@ -1,8 +1,8 @@
 
-F\\main\RDP\43П\шечковано\Desktop\gg\Sessioa\Sessioa\App.xaml;;
-F\\main\RDP\43П\шечковано\Desktop\gg\Sessioa\Sessioa\MainWindow.xaml;;
-F\\main\RDP\43П\шечковано\Desktop\gg\Sessioa\Sessioa\Pages\Autorization.xaml;;
-F\\main\RDP\43П\шечковано\Desktop\gg\Sessioa\Sessioa\Pages\ProductsPage.xaml;;
-F\\main\RDP\43П\шечковано\Desktop\gg\Sessioa\Sessioa\Pages\OrderNew.xaml;;
-F\\main\RDP\43П\шечковано\Desktop\gg\Sessioa\Sessioa\Pages\ProductCard.xaml;;
+FC:\Users\шечковано\Downloads\UP_wpf\Sessioa\App.xaml;;
+FC:\Users\шечковано\Downloads\UP_wpf\Sessioa\MainWindow.xaml;;
+FC:\Users\шечковано\Downloads\UP_wpf\Sessioa\Pages\Autorization.xaml;;
+FC:\Users\шечковано\Downloads\UP_wpf\Sessioa\Pages\OrderNew.xaml;;
+FC:\Users\шечковано\Downloads\UP_wpf\Sessioa\Pages\ProductCard.xaml;;
+FC:\Users\шечковано\Downloads\UP_wpf\Sessioa\Pages\ProductsPage.xaml;;