MainWindow.g.cs 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. #pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E38F2CFCE19929E1AC3A1890F6DB8BDE13B11A1B"
  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 sql_pagining;
  33. namespace sql_pagining {
  34. /// <summary>
  35. /// MainWindow
  36. /// </summary>
  37. public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
  38. #line 9 "..\..\..\MainWindow.xaml"
  39. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  40. internal sql_pagining.MainWindow root;
  41. #line default
  42. #line hidden
  43. #line 120 "..\..\..\MainWindow.xaml"
  44. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  45. internal System.Windows.Controls.ListBox ProductListBox;
  46. #line default
  47. #line hidden
  48. #line 144 "..\..\..\MainWindow.xaml"
  49. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  50. internal System.Windows.Controls.Button ExitButton;
  51. #line default
  52. #line hidden
  53. #line 158 "..\..\..\MainWindow.xaml"
  54. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  55. internal System.Windows.Controls.Button CostChangeButton;
  56. #line default
  57. #line hidden
  58. #line 163 "..\..\..\MainWindow.xaml"
  59. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  60. internal System.Windows.Controls.ListBox PageListListBox;
  61. #line default
  62. #line hidden
  63. #line 186 "..\..\..\MainWindow.xaml"
  64. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  65. internal System.Windows.Controls.ComboBox SortTypeComboBox;
  66. #line default
  67. #line hidden
  68. #line 194 "..\..\..\MainWindow.xaml"
  69. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  70. internal System.Windows.Controls.ComboBox ProductTypeFilter;
  71. #line default
  72. #line hidden
  73. #line 204 "..\..\..\MainWindow.xaml"
  74. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  75. internal System.Windows.Controls.TextBox searchFilterTextBox;
  76. #line default
  77. #line hidden
  78. private bool _contentLoaded;
  79. /// <summary>
  80. /// InitializeComponent
  81. /// </summary>
  82. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  83. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.0.0")]
  84. public void InitializeComponent() {
  85. if (_contentLoaded) {
  86. return;
  87. }
  88. _contentLoaded = true;
  89. System.Uri resourceLocater = new System.Uri("/sql_pagining;component/mainwindow.xaml", System.UriKind.Relative);
  90. #line 1 "..\..\..\MainWindow.xaml"
  91. System.Windows.Application.LoadComponent(this, resourceLocater);
  92. #line default
  93. #line hidden
  94. }
  95. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  96. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.0.0")]
  97. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  98. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  99. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  100. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  101. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  102. switch (connectionId)
  103. {
  104. case 1:
  105. this.root = ((sql_pagining.MainWindow)(target));
  106. return;
  107. case 2:
  108. this.ProductListBox = ((System.Windows.Controls.ListBox)(target));
  109. #line 122 "..\..\..\MainWindow.xaml"
  110. this.ProductListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ProductListBox_SelectionChanged);
  111. #line default
  112. #line hidden
  113. #line 123 "..\..\..\MainWindow.xaml"
  114. this.ProductListBox.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ProductListView_MouseDoubleClick);
  115. #line default
  116. #line hidden
  117. return;
  118. case 3:
  119. this.ExitButton = ((System.Windows.Controls.Button)(target));
  120. #line 146 "..\..\..\MainWindow.xaml"
  121. this.ExitButton.Click += new System.Windows.RoutedEventHandler(this.ExitButton_Click);
  122. #line default
  123. #line hidden
  124. return;
  125. case 4:
  126. this.CostChangeButton = ((System.Windows.Controls.Button)(target));
  127. #line 160 "..\..\..\MainWindow.xaml"
  128. this.CostChangeButton.Click += new System.Windows.RoutedEventHandler(this.CostChangeButton_Click);
  129. #line default
  130. #line hidden
  131. return;
  132. case 5:
  133. this.PageListListBox = ((System.Windows.Controls.ListBox)(target));
  134. return;
  135. case 7:
  136. this.SortTypeComboBox = ((System.Windows.Controls.ComboBox)(target));
  137. #line 190 "..\..\..\MainWindow.xaml"
  138. this.SortTypeComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SortTypeComboBox_SelectionChanged);
  139. #line default
  140. #line hidden
  141. return;
  142. case 8:
  143. this.ProductTypeFilter = ((System.Windows.Controls.ComboBox)(target));
  144. #line 196 "..\..\..\MainWindow.xaml"
  145. this.ProductTypeFilter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ProductTypeFilter_SelectionChanged);
  146. #line default
  147. #line hidden
  148. return;
  149. case 9:
  150. this.searchFilterTextBox = ((System.Windows.Controls.TextBox)(target));
  151. #line 205 "..\..\..\MainWindow.xaml"
  152. this.searchFilterTextBox.KeyUp += new System.Windows.Input.KeyEventHandler(this.SearchFilterTextBox_OnKeyUp);
  153. #line default
  154. #line hidden
  155. return;
  156. }
  157. this._contentLoaded = true;
  158. }
  159. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  160. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.0.0")]
  161. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  162. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  163. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  164. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  165. void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
  166. switch (connectionId)
  167. {
  168. case 6:
  169. #line 181 "..\..\..\MainWindow.xaml"
  170. ((System.Windows.Controls.TextBlock)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_PreviewMouseDown);
  171. #line default
  172. #line hidden
  173. break;
  174. }
  175. }
  176. }
  177. }