MainWindow.g.i.cs 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. #pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "DF5F6CB61B7319EEFA798D3E584697CD735D5EAA"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // Этот код создан программой.
  5. // Исполняемая версия:4.0.30319.42000
  6. //
  7. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  8. // повторной генерации кода.
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using System;
  12. using System.Diagnostics;
  13. using System.Windows;
  14. using System.Windows.Automation;
  15. using System.Windows.Controls;
  16. using System.Windows.Controls.Primitives;
  17. using System.Windows.Controls.Ribbon;
  18. using System.Windows.Data;
  19. using System.Windows.Documents;
  20. using System.Windows.Ink;
  21. using System.Windows.Input;
  22. using System.Windows.Markup;
  23. using System.Windows.Media;
  24. using System.Windows.Media.Animation;
  25. using System.Windows.Media.Effects;
  26. using System.Windows.Media.Imaging;
  27. using System.Windows.Media.Media3D;
  28. using System.Windows.Media.TextFormatting;
  29. using System.Windows.Navigation;
  30. using System.Windows.Shapes;
  31. using System.Windows.Shell;
  32. using WpfApp2;
  33. namespace WpfApp2 {
  34. /// <summary>
  35. /// MainWindow
  36. /// </summary>
  37. public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
  38. #line 62 "..\..\..\MainWindow.xaml"
  39. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  40. internal System.Windows.Controls.ListBox SparesListBox;
  41. #line default
  42. #line hidden
  43. #line 116 "..\..\..\MainWindow.xaml"
  44. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  45. internal System.Windows.Controls.Button ExitButton;
  46. #line default
  47. #line hidden
  48. #line 123 "..\..\..\MainWindow.xaml"
  49. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  50. internal System.Windows.Controls.StackPanel buttonsStack;
  51. #line default
  52. #line hidden
  53. #line 126 "..\..\..\MainWindow.xaml"
  54. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  55. internal System.Windows.Controls.Button button1;
  56. #line default
  57. #line hidden
  58. #line 129 "..\..\..\MainWindow.xaml"
  59. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  60. internal System.Windows.Controls.Button button2;
  61. #line default
  62. #line hidden
  63. #line 146 "..\..\..\MainWindow.xaml"
  64. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  65. internal System.Windows.Controls.ComboBox DetailFilterComboBox;
  66. #line default
  67. #line hidden
  68. #line 165 "..\..\..\MainWindow.xaml"
  69. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  70. internal System.Windows.Controls.ComboBox PriceFilterComboBox;
  71. #line default
  72. #line hidden
  73. #line 183 "..\..\..\MainWindow.xaml"
  74. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  75. internal System.Windows.Controls.ComboBox TypeFilterComboBox;
  76. #line default
  77. #line hidden
  78. #line 216 "..\..\..\MainWindow.xaml"
  79. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  80. internal System.Windows.Controls.TextBox SearchFilterTextBox;
  81. #line default
  82. #line hidden
  83. private bool _contentLoaded;
  84. /// <summary>
  85. /// InitializeComponent
  86. /// </summary>
  87. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  88. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.4.0")]
  89. public void InitializeComponent() {
  90. if (_contentLoaded) {
  91. return;
  92. }
  93. _contentLoaded = true;
  94. System.Uri resourceLocater = new System.Uri("/WpfApp1;component/mainwindow.xaml", System.UriKind.Relative);
  95. #line 1 "..\..\..\MainWindow.xaml"
  96. System.Windows.Application.LoadComponent(this, resourceLocater);
  97. #line default
  98. #line hidden
  99. }
  100. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  101. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.4.0")]
  102. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  103. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  104. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  105. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  106. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  107. switch (connectionId)
  108. {
  109. case 2:
  110. this.SparesListBox = ((System.Windows.Controls.ListBox)(target));
  111. #line 61 "..\..\..\MainWindow.xaml"
  112. this.SparesListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.SparesListBox_MouseDoubleClick);
  113. #line default
  114. #line hidden
  115. return;
  116. case 3:
  117. this.ExitButton = ((System.Windows.Controls.Button)(target));
  118. #line 118 "..\..\..\MainWindow.xaml"
  119. this.ExitButton.Click += new System.Windows.RoutedEventHandler(this.ExitButton_Click);
  120. #line default
  121. #line hidden
  122. return;
  123. case 4:
  124. this.buttonsStack = ((System.Windows.Controls.StackPanel)(target));
  125. return;
  126. case 5:
  127. this.button1 = ((System.Windows.Controls.Button)(target));
  128. return;
  129. case 6:
  130. this.button2 = ((System.Windows.Controls.Button)(target));
  131. return;
  132. case 7:
  133. this.DetailFilterComboBox = ((System.Windows.Controls.ComboBox)(target));
  134. #line 147 "..\..\..\MainWindow.xaml"
  135. this.DetailFilterComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DetailFilterComboBox_SelectionChanged_1);
  136. #line default
  137. #line hidden
  138. return;
  139. case 8:
  140. this.PriceFilterComboBox = ((System.Windows.Controls.ComboBox)(target));
  141. #line 166 "..\..\..\MainWindow.xaml"
  142. this.PriceFilterComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PriceFilterComboBox_SelectionChanged_2);
  143. #line default
  144. #line hidden
  145. return;
  146. case 9:
  147. this.TypeFilterComboBox = ((System.Windows.Controls.ComboBox)(target));
  148. #line 184 "..\..\..\MainWindow.xaml"
  149. this.TypeFilterComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TypeFilterComboBox_SelectionChanged_3);
  150. #line default
  151. #line hidden
  152. return;
  153. case 10:
  154. #line 201 "..\..\..\MainWindow.xaml"
  155. ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
  156. #line default
  157. #line hidden
  158. return;
  159. case 11:
  160. #line 208 "..\..\..\MainWindow.xaml"
  161. ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
  162. #line default
  163. #line hidden
  164. return;
  165. case 12:
  166. this.SearchFilterTextBox = ((System.Windows.Controls.TextBox)(target));
  167. #line 217 "..\..\..\MainWindow.xaml"
  168. this.SearchFilterTextBox.KeyUp += new System.Windows.Input.KeyEventHandler(this.SearchFilter_KeyUp);
  169. #line default
  170. #line hidden
  171. return;
  172. }
  173. this._contentLoaded = true;
  174. }
  175. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  176. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.4.0")]
  177. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  178. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  179. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  180. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  181. void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
  182. System.Windows.EventSetter eventSetter;
  183. switch (connectionId)
  184. {
  185. case 1:
  186. eventSetter = new System.Windows.EventSetter();
  187. eventSetter.Event = System.Windows.Controls.Primitives.ButtonBase.ClickEvent;
  188. #line 27 "..\..\..\MainWindow.xaml"
  189. eventSetter.Handler = new System.Windows.RoutedEventHandler(this.Button_Click);
  190. #line default
  191. #line hidden
  192. ((System.Windows.Style)(target)).Setters.Add(eventSetter);
  193. break;
  194. }
  195. }
  196. }
  197. }