Переглянути джерело

переход на корзину

darfaskhieva19 1 рік тому
батько
коміт
4ae6cc458d

+ 1 - 1
WpfAppProduct/Pages/PageList.xaml.cs

@@ -28,7 +28,7 @@ namespace WpfAppProduct
 
         private void BtnBasket_Click(object sender, RoutedEventArgs e)
         {
-
+            ClassFrame.MainF.Navigate(new WindowsBasket());
         }
     }
 }

+ 12 - 0
WpfAppProduct/WindowsBasket.xaml

@@ -0,0 +1,12 @@
+<Window x:Class="WpfAppProduct.WindowsBasket"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:WpfAppProduct"
+        mc:Ignorable="d"
+        Title="WindowsBasket" Height="450" Width="800">
+    <Grid>
+        
+    </Grid>
+</Window>

+ 27 - 0
WpfAppProduct/WindowsBasket.xaml.cs

@@ -0,0 +1,27 @@
+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.Shapes;
+
+namespace WpfAppProduct
+{
+    /// <summary>
+    /// Логика взаимодействия для WindowsBasket.xaml
+    /// </summary>
+    public partial class WindowsBasket : Window
+    {
+        public WindowsBasket()
+        {
+            InitializeComponent();
+        }
+    }
+}

+ 75 - 0
WpfAppProduct/obj/Debug/WindowsBasket.g.i.cs

@@ -0,0 +1,75 @@
+#pragma checksum "..\..\WindowsBasket.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6923A0495B1984A9B79FDE915AC2BD7D5E8057F82C22C90D5C52857ED5BB464D"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+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;
+using WpfAppProduct;
+
+
+namespace WpfAppProduct {
+    
+    
+    /// <summary>
+    /// WindowsBasket
+    /// </summary>
+    public partial class WindowsBasket : System.Windows.Window, 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("/WpfAppProduct;component/windowsbasket.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\WindowsBasket.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;
+        }
+    }
+}
+

+ 4 - 4
WpfAppProduct/obj/Debug/WpfAppProduct_MarkupCompile.i.cache

@@ -10,11 +10,11 @@ none
 false
 DEBUG;TRACE
 C:\Users\User\source\repos\WpfAppProduct\WpfAppProduct\App.xaml
-260991724
+376752927
 2-1957146511
-17485581491
+18-261544896
 18-1474302701
-MainWindow.xaml;Pages\PageList.xaml;
+MainWindow.xaml;Pages\PageList.xaml;WindowsBasket.xaml;
 
-False
+True
 

+ 4 - 0
WpfAppProduct/obj/Debug/WpfAppProduct_MarkupCompile.i.lref

@@ -0,0 +1,4 @@
+
+
+FC:\Users\User\source\repos\WpfAppProduct\WpfAppProduct\WindowsBasket.xaml;;
+