|
@@ -0,0 +1,254 @@
|
|
|
|
+#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "DF5F6CB61B7319EEFA798D3E584697CD735D5EAA"
|
|
|
|
+//------------------------------------------------------------------------------
|
|
|
|
+// <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 WpfApp2;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+namespace WpfApp2 {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// MainWindow
|
|
|
|
+ /// </summary>
|
|
|
|
+ public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ #line 62 "..\..\..\MainWindow.xaml"
|
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
+ internal System.Windows.Controls.ListBox SparesListBox;
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ #line 116 "..\..\..\MainWindow.xaml"
|
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
+ internal System.Windows.Controls.Button ExitButton;
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ #line 123 "..\..\..\MainWindow.xaml"
|
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
+ internal System.Windows.Controls.StackPanel buttonsStack;
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ #line 126 "..\..\..\MainWindow.xaml"
|
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
+ internal System.Windows.Controls.Button button1;
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ #line 129 "..\..\..\MainWindow.xaml"
|
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
+ internal System.Windows.Controls.Button button2;
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ #line 146 "..\..\..\MainWindow.xaml"
|
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
+ internal System.Windows.Controls.ComboBox DetailFilterComboBox;
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ #line 165 "..\..\..\MainWindow.xaml"
|
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
+ internal System.Windows.Controls.ComboBox PriceFilterComboBox;
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ #line 183 "..\..\..\MainWindow.xaml"
|
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
+ internal System.Windows.Controls.ComboBox TypeFilterComboBox;
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ #line 216 "..\..\..\MainWindow.xaml"
|
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
+ internal System.Windows.Controls.TextBox SearchFilterTextBox;
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+
|
|
|
|
+ private bool _contentLoaded;
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// InitializeComponent
|
|
|
|
+ /// </summary>
|
|
|
|
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
|
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.4.0")]
|
|
|
|
+ public void InitializeComponent() {
|
|
|
|
+ if (_contentLoaded) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ _contentLoaded = true;
|
|
|
|
+ System.Uri resourceLocater = new System.Uri("/WpfApp1;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.4.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 2:
|
|
|
|
+ this.SparesListBox = ((System.Windows.Controls.ListBox)(target));
|
|
|
|
+
|
|
|
|
+ #line 61 "..\..\..\MainWindow.xaml"
|
|
|
|
+ this.SparesListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.SparesListBox_MouseDoubleClick);
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+ return;
|
|
|
|
+ case 3:
|
|
|
|
+ this.ExitButton = ((System.Windows.Controls.Button)(target));
|
|
|
|
+
|
|
|
|
+ #line 118 "..\..\..\MainWindow.xaml"
|
|
|
|
+ this.ExitButton.Click += new System.Windows.RoutedEventHandler(this.ExitButton_Click);
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+ return;
|
|
|
|
+ case 4:
|
|
|
|
+ this.buttonsStack = ((System.Windows.Controls.StackPanel)(target));
|
|
|
|
+ return;
|
|
|
|
+ case 5:
|
|
|
|
+ this.button1 = ((System.Windows.Controls.Button)(target));
|
|
|
|
+ return;
|
|
|
|
+ case 6:
|
|
|
|
+ this.button2 = ((System.Windows.Controls.Button)(target));
|
|
|
|
+ return;
|
|
|
|
+ case 7:
|
|
|
|
+ this.DetailFilterComboBox = ((System.Windows.Controls.ComboBox)(target));
|
|
|
|
+
|
|
|
|
+ #line 147 "..\..\..\MainWindow.xaml"
|
|
|
|
+ this.DetailFilterComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DetailFilterComboBox_SelectionChanged_1);
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+ return;
|
|
|
|
+ case 8:
|
|
|
|
+ this.PriceFilterComboBox = ((System.Windows.Controls.ComboBox)(target));
|
|
|
|
+
|
|
|
|
+ #line 166 "..\..\..\MainWindow.xaml"
|
|
|
|
+ this.PriceFilterComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PriceFilterComboBox_SelectionChanged_2);
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+ return;
|
|
|
|
+ case 9:
|
|
|
|
+ this.TypeFilterComboBox = ((System.Windows.Controls.ComboBox)(target));
|
|
|
|
+
|
|
|
|
+ #line 184 "..\..\..\MainWindow.xaml"
|
|
|
|
+ this.TypeFilterComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TypeFilterComboBox_SelectionChanged_3);
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+ return;
|
|
|
|
+ case 10:
|
|
|
|
+
|
|
|
|
+ #line 201 "..\..\..\MainWindow.xaml"
|
|
|
|
+ ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+ return;
|
|
|
|
+ case 11:
|
|
|
|
+
|
|
|
|
+ #line 208 "..\..\..\MainWindow.xaml"
|
|
|
|
+ ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+ return;
|
|
|
|
+ case 12:
|
|
|
|
+ this.SearchFilterTextBox = ((System.Windows.Controls.TextBox)(target));
|
|
|
|
+
|
|
|
|
+ #line 217 "..\..\..\MainWindow.xaml"
|
|
|
|
+ this.SearchFilterTextBox.KeyUp += new System.Windows.Input.KeyEventHandler(this.SearchFilter_KeyUp);
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ this._contentLoaded = true;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
|
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.4.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) {
|
|
|
|
+ System.Windows.EventSetter eventSetter;
|
|
|
|
+ switch (connectionId)
|
|
|
|
+ {
|
|
|
|
+ case 1:
|
|
|
|
+ eventSetter = new System.Windows.EventSetter();
|
|
|
|
+ eventSetter.Event = System.Windows.Controls.Primitives.ButtonBase.ClickEvent;
|
|
|
|
+
|
|
|
|
+ #line 27 "..\..\..\MainWindow.xaml"
|
|
|
|
+ eventSetter.Handler = new System.Windows.RoutedEventHandler(this.Button_Click);
|
|
|
|
+
|
|
|
|
+ #line default
|
|
|
|
+ #line hidden
|
|
|
|
+ ((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|