123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- #pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "082672D8DF371072C32666020C7B1F03FD62E4D6"
- //------------------------------------------------------------------------------
- // <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.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;
- using wpf_connection3;
- namespace wpf_connection3 {
-
-
- /// <summary>
- /// MainWindow
- /// </summary>
- public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
-
-
- #line 24 "..\..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ListBox ProductListBox;
-
- #line default
- #line hidden
-
-
- #line 101 "..\..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox ProductTypeFilter;
-
- #line default
- #line hidden
-
-
- #line 107 "..\..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox SortTypeComboBox;
-
- #line default
- #line hidden
-
-
- #line 118 "..\..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox searchFilterTextBox;
-
- #line default
- #line hidden
-
-
- #line 123 "..\..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button AddProductButton;
-
- #line default
- #line hidden
-
-
- #line 130 "..\..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ListBox PageListListBox;
-
- #line default
- #line hidden
-
-
- #line 166 "..\..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button ExitButton;
-
- #line default
- #line hidden
-
-
- #line 180 "..\..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button CostChangeButton;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- /// <summary>
- /// InitializeComponent
- /// </summary>
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/wpf_connection3;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", "8.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.ProductListBox = ((System.Windows.Controls.ListBox)(target));
-
- #line 26 "..\..\..\MainWindow.xaml"
- this.ProductListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ProductListBox_OnSelectionChanged);
-
- #line default
- #line hidden
-
- #line 30 "..\..\..\MainWindow.xaml"
- this.ProductListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ProductListBox_MouseDoubleClick);
-
- #line default
- #line hidden
- return;
- case 2:
- this.ProductTypeFilter = ((System.Windows.Controls.ComboBox)(target));
-
- #line 103 "..\..\..\MainWindow.xaml"
- this.ProductTypeFilter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ProductTypeFilter_SelectionChanged);
-
- #line default
- #line hidden
- return;
- case 3:
- this.SortTypeComboBox = ((System.Windows.Controls.ComboBox)(target));
-
- #line 111 "..\..\..\MainWindow.xaml"
- this.SortTypeComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SortTypeComboBox_SelectionChanged);
-
- #line default
- #line hidden
- return;
- case 4:
- this.searchFilterTextBox = ((System.Windows.Controls.TextBox)(target));
-
- #line 121 "..\..\..\MainWindow.xaml"
- this.searchFilterTextBox.KeyUp += new System.Windows.Input.KeyEventHandler(this.searchFilterTextBox_KeyUp);
-
- #line default
- #line hidden
- return;
- case 5:
- this.AddProductButton = ((System.Windows.Controls.Button)(target));
-
- #line 126 "..\..\..\MainWindow.xaml"
- this.AddProductButton.Click += new System.Windows.RoutedEventHandler(this.AddProductButton_Click);
-
- #line default
- #line hidden
- return;
- case 6:
- this.PageListListBox = ((System.Windows.Controls.ListBox)(target));
- return;
- case 8:
- this.ExitButton = ((System.Windows.Controls.Button)(target));
-
- #line 168 "..\..\..\MainWindow.xaml"
- this.ExitButton.Click += new System.Windows.RoutedEventHandler(this.ExitButton_Click);
-
- #line default
- #line hidden
- return;
- case 9:
- this.CostChangeButton = ((System.Windows.Controls.Button)(target));
-
- #line 182 "..\..\..\MainWindow.xaml"
- this.CostChangeButton.Click += new System.Windows.RoutedEventHandler(this.CostChangeButton_Click);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 7:
-
- #line 148 "..\..\..\MainWindow.xaml"
- ((System.Windows.Controls.TextBlock)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_PreviewMouseDown);
-
- #line default
- #line hidden
- break;
- }
- }
- }
- }
|