0
0

MainWindow.g.cs 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. #pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "082672D8DF371072C32666020C7B1F03FD62E4D6"
  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 wpf_connection3;
  33. namespace wpf_connection3 {
  34. /// <summary>
  35. /// MainWindow
  36. /// </summary>
  37. public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
  38. #line 24 "..\..\..\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 101 "..\..\..\MainWindow.xaml"
  44. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  45. internal System.Windows.Controls.ComboBox ProductTypeFilter;
  46. #line default
  47. #line hidden
  48. #line 107 "..\..\..\MainWindow.xaml"
  49. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  50. internal System.Windows.Controls.ComboBox SortTypeComboBox;
  51. #line default
  52. #line hidden
  53. #line 118 "..\..\..\MainWindow.xaml"
  54. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  55. internal System.Windows.Controls.TextBox searchFilterTextBox;
  56. #line default
  57. #line hidden
  58. #line 123 "..\..\..\MainWindow.xaml"
  59. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  60. internal System.Windows.Controls.Button AddProductButton;
  61. #line default
  62. #line hidden
  63. #line 130 "..\..\..\MainWindow.xaml"
  64. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  65. internal System.Windows.Controls.ListBox PageListListBox;
  66. #line default
  67. #line hidden
  68. #line 166 "..\..\..\MainWindow.xaml"
  69. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  70. internal System.Windows.Controls.Button ExitButton;
  71. #line default
  72. #line hidden
  73. #line 180 "..\..\..\MainWindow.xaml"
  74. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  75. internal System.Windows.Controls.Button CostChangeButton;
  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("/wpf_connection3;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.ProductListBox = ((System.Windows.Controls.ListBox)(target));
  106. #line 26 "..\..\..\MainWindow.xaml"
  107. this.ProductListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ProductListBox_OnSelectionChanged);
  108. #line default
  109. #line hidden
  110. #line 30 "..\..\..\MainWindow.xaml"
  111. this.ProductListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ProductListBox_MouseDoubleClick);
  112. #line default
  113. #line hidden
  114. return;
  115. case 2:
  116. this.ProductTypeFilter = ((System.Windows.Controls.ComboBox)(target));
  117. #line 103 "..\..\..\MainWindow.xaml"
  118. this.ProductTypeFilter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ProductTypeFilter_SelectionChanged);
  119. #line default
  120. #line hidden
  121. return;
  122. case 3:
  123. this.SortTypeComboBox = ((System.Windows.Controls.ComboBox)(target));
  124. #line 111 "..\..\..\MainWindow.xaml"
  125. this.SortTypeComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SortTypeComboBox_SelectionChanged);
  126. #line default
  127. #line hidden
  128. return;
  129. case 4:
  130. this.searchFilterTextBox = ((System.Windows.Controls.TextBox)(target));
  131. #line 121 "..\..\..\MainWindow.xaml"
  132. this.searchFilterTextBox.KeyUp += new System.Windows.Input.KeyEventHandler(this.searchFilterTextBox_KeyUp);
  133. #line default
  134. #line hidden
  135. return;
  136. case 5:
  137. this.AddProductButton = ((System.Windows.Controls.Button)(target));
  138. #line 126 "..\..\..\MainWindow.xaml"
  139. this.AddProductButton.Click += new System.Windows.RoutedEventHandler(this.AddProductButton_Click);
  140. #line default
  141. #line hidden
  142. return;
  143. case 6:
  144. this.PageListListBox = ((System.Windows.Controls.ListBox)(target));
  145. return;
  146. case 8:
  147. this.ExitButton = ((System.Windows.Controls.Button)(target));
  148. #line 168 "..\..\..\MainWindow.xaml"
  149. this.ExitButton.Click += new System.Windows.RoutedEventHandler(this.ExitButton_Click);
  150. #line default
  151. #line hidden
  152. return;
  153. case 9:
  154. this.CostChangeButton = ((System.Windows.Controls.Button)(target));
  155. #line 182 "..\..\..\MainWindow.xaml"
  156. this.CostChangeButton.Click += new System.Windows.RoutedEventHandler(this.CostChangeButton_Click);
  157. #line default
  158. #line hidden
  159. return;
  160. }
  161. this._contentLoaded = true;
  162. }
  163. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  164. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.0.0")]
  165. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  166. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  167. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  168. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  169. void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
  170. switch (connectionId)
  171. {
  172. case 7:
  173. #line 148 "..\..\..\MainWindow.xaml"
  174. ((System.Windows.Controls.TextBlock)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_PreviewMouseDown);
  175. #line default
  176. #line hidden
  177. break;
  178. }
  179. }
  180. }
  181. }