|
@@ -0,0 +1,191 @@
|
|
|
+#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "615DD6F40E9D89C1746134858AA6679352B9BAB2"
|
|
|
+//------------------------------------------------------------------------------
|
|
|
+// <auto-generated>
|
|
|
+// Этот код создан программой.
|
|
|
+// Исполняемая версия:4.0.30319.42000
|
|
|
+//
|
|
|
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
|
|
+// повторной генерации кода.
|
|
|
+// </auto-generated>
|
|
|
+//------------------------------------------------------------------------------
|
|
|
+
|
|
|
+using BookStore_;
|
|
|
+using System;
|
|
|
+using System.Diagnostics;
|
|
|
+using System.Windows;
|
|
|
+using System.Windows.Automation;
|
|
|
+using System.Windows.Controls;
|
|
|
+using System.Windows.Controls.Primitives;
|
|
|
+using System.Windows.Controls.Ribbon;
|
|
|
+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 BookStore_ {
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// MainWindow
|
|
|
+ /// </summary>
|
|
|
+ public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
+
|
|
|
+
|
|
|
+ #line 18 "..\..\..\MainWindow.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.DataGrid BookGrid;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+
|
|
|
+ #line 26 "..\..\..\MainWindow.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.Button BtnDelete;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+
|
|
|
+ #line 43 "..\..\..\MainWindow.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.TextBox TbName;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+
|
|
|
+ #line 44 "..\..\..\MainWindow.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.TextBox TbPrice;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+
|
|
|
+ #line 45 "..\..\..\MainWindow.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.TextBox TbCategory;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+
|
|
|
+ #line 46 "..\..\..\MainWindow.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.TextBox TbAuthor;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+
|
|
|
+ #line 47 "..\..\..\MainWindow.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.Button BtnInsert;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+
|
|
|
+ #line 48 "..\..\..\MainWindow.xaml"
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
+ internal System.Windows.Controls.Button BtnUpdate;
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+
|
|
|
+ private bool _contentLoaded;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// InitializeComponent
|
|
|
+ /// </summary>
|
|
|
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
|
|
|
+ public void InitializeComponent() {
|
|
|
+ if (_contentLoaded) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ _contentLoaded = true;
|
|
|
+ System.Uri resourceLocater = new System.Uri("/BookStore_;component/mainwindow.xaml", System.UriKind.Relative);
|
|
|
+
|
|
|
+ #line 1 "..\..\..\MainWindow.xaml"
|
|
|
+ System.Windows.Application.LoadComponent(this, resourceLocater);
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+ }
|
|
|
+
|
|
|
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.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.BookGrid = ((System.Windows.Controls.DataGrid)(target));
|
|
|
+
|
|
|
+ #line 18 "..\..\..\MainWindow.xaml"
|
|
|
+ this.BookGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.BookGrid_SelectionChanged_1);
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+ return;
|
|
|
+ case 2:
|
|
|
+ this.BtnDelete = ((System.Windows.Controls.Button)(target));
|
|
|
+
|
|
|
+ #line 26 "..\..\..\MainWindow.xaml"
|
|
|
+ this.BtnDelete.Click += new System.Windows.RoutedEventHandler(this.BtnDelete_Click);
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+ return;
|
|
|
+ case 3:
|
|
|
+ this.TbName = ((System.Windows.Controls.TextBox)(target));
|
|
|
+ return;
|
|
|
+ case 4:
|
|
|
+ this.TbPrice = ((System.Windows.Controls.TextBox)(target));
|
|
|
+ return;
|
|
|
+ case 5:
|
|
|
+ this.TbCategory = ((System.Windows.Controls.TextBox)(target));
|
|
|
+ return;
|
|
|
+ case 6:
|
|
|
+ this.TbAuthor = ((System.Windows.Controls.TextBox)(target));
|
|
|
+ return;
|
|
|
+ case 7:
|
|
|
+ this.BtnInsert = ((System.Windows.Controls.Button)(target));
|
|
|
+
|
|
|
+ #line 47 "..\..\..\MainWindow.xaml"
|
|
|
+ this.BtnInsert.Click += new System.Windows.RoutedEventHandler(this.BtnIsert_Click);
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+ return;
|
|
|
+ case 8:
|
|
|
+ this.BtnUpdate = ((System.Windows.Controls.Button)(target));
|
|
|
+
|
|
|
+ #line 48 "..\..\..\MainWindow.xaml"
|
|
|
+ this.BtnUpdate.Click += new System.Windows.RoutedEventHandler(this.BtnUpdate_Click);
|
|
|
+
|
|
|
+ #line default
|
|
|
+ #line hidden
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ this._contentLoaded = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|