/IIO11300Vktehtavat/H12BookShopEF/obj/Debug/MainWindow.g.i.cs
C# | 313 lines | 220 code | 78 blank | 15 comment | 2 complexity | 291f7208659c7d828bcabef8497e68d2 MD5 | raw file
- #pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "FD5B7A7E4ECD1FF4A1E336A2248A2F31"
- //------------------------------------------------------------------------------
- // <auto-generated>
- // This code was generated by a tool.
- // Runtime Version:4.0.30319.42000
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- // </auto-generated>
- //------------------------------------------------------------------------------
- using H12BookShopEF;
- 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 H12BookShopEF {
-
-
- /// <summary>
- /// MainWindow
- /// </summary>
- public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
-
-
- #line 15 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button btnGetCustomers;
-
- #line default
- #line hidden
-
-
- #line 16 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button btnGetBooks;
-
- #line default
- #line hidden
-
-
- #line 17 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox cbCountries;
-
- #line default
- #line hidden
-
-
- #line 21 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.StackPanel spBook;
-
- #line default
- #line hidden
-
-
- #line 22 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Grid FormLayoutGrid;
-
- #line default
- #line hidden
-
-
- #line 41 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBlock txtBook;
-
- #line default
- #line hidden
-
-
- #line 44 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtName;
-
- #line default
- #line hidden
-
-
- #line 47 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtAuthor;
-
- #line default
- #line hidden
-
-
- #line 50 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtCountry;
-
- #line default
- #line hidden
-
-
- #line 53 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtYear;
-
- #line default
- #line hidden
-
-
- #line 55 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button btnSave;
-
- #line default
- #line hidden
-
-
- #line 56 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button btnNew;
-
- #line default
- #line hidden
-
-
- #line 57 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button btnDelete;
-
- #line default
- #line hidden
-
-
- #line 62 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.StackPanel spCustomer;
-
- #line default
- #line hidden
-
-
- #line 63 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Grid FormLayoutGrid2;
-
- #line default
- #line hidden
-
-
- #line 93 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button btnGetCustomerOrders;
-
- #line default
- #line hidden
-
-
- #line 109 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.DataGrid dgBooks;
-
- #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("/BookShop;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", "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.btnGetCustomers = ((System.Windows.Controls.Button)(target));
-
- #line 15 "..\..\MainWindow.xaml"
- this.btnGetCustomers.Click += new System.Windows.RoutedEventHandler(this.btnGetCustomers_Click);
-
- #line default
- #line hidden
- return;
- case 2:
- this.btnGetBooks = ((System.Windows.Controls.Button)(target));
-
- #line 16 "..\..\MainWindow.xaml"
- this.btnGetBooks.Click += new System.Windows.RoutedEventHandler(this.btnGetBooks_Click);
-
- #line default
- #line hidden
- return;
- case 3:
- this.cbCountries = ((System.Windows.Controls.ComboBox)(target));
-
- #line 17 "..\..\MainWindow.xaml"
- this.cbCountries.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbCountries_SelectionChanged);
-
- #line default
- #line hidden
- return;
- case 4:
- this.spBook = ((System.Windows.Controls.StackPanel)(target));
- return;
- case 5:
- this.FormLayoutGrid = ((System.Windows.Controls.Grid)(target));
- return;
- case 6:
- this.txtBook = ((System.Windows.Controls.TextBlock)(target));
- return;
- case 7:
- this.txtName = ((System.Windows.Controls.TextBox)(target));
- return;
- case 8:
- this.txtAuthor = ((System.Windows.Controls.TextBox)(target));
- return;
- case 9:
- this.txtCountry = ((System.Windows.Controls.TextBox)(target));
- return;
- case 10:
- this.txtYear = ((System.Windows.Controls.TextBox)(target));
- return;
- case 11:
- this.btnSave = ((System.Windows.Controls.Button)(target));
-
- #line 55 "..\..\MainWindow.xaml"
- this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
-
- #line default
- #line hidden
- return;
- case 12:
- this.btnNew = ((System.Windows.Controls.Button)(target));
-
- #line 56 "..\..\MainWindow.xaml"
- this.btnNew.Click += new System.Windows.RoutedEventHandler(this.btnNew_Click);
-
- #line default
- #line hidden
- return;
- case 13:
- this.btnDelete = ((System.Windows.Controls.Button)(target));
-
- #line 57 "..\..\MainWindow.xaml"
- this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click);
-
- #line default
- #line hidden
- return;
- case 14:
- this.spCustomer = ((System.Windows.Controls.StackPanel)(target));
- return;
- case 15:
- this.FormLayoutGrid2 = ((System.Windows.Controls.Grid)(target));
- return;
- case 16:
- this.btnGetCustomerOrders = ((System.Windows.Controls.Button)(target));
-
- #line 93 "..\..\MainWindow.xaml"
- this.btnGetCustomerOrders.Click += new System.Windows.RoutedEventHandler(this.btnGetCustomerOrders_Click);
-
- #line default
- #line hidden
- return;
- case 17:
- this.dgBooks = ((System.Windows.Controls.DataGrid)(target));
-
- #line 109 "..\..\MainWindow.xaml"
- this.dgBooks.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgBooks_SelectionChanged);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
- }