MainWindow.g.cs 9.0 KB

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