MainWindow.g.cs 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. #pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "91DA9A3393F4548B95CD9CBBDAD2D2E25DFAC4F5"
  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_listbox;
  33. namespace wpf_listbox {
  34. /// <summary>
  35. /// MainWindow
  36. /// </summary>
  37. public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
  38. #line 52 "..\..\..\MainWindow.xaml"
  39. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  40. internal System.Windows.Controls.StackPanel buttonsStack;
  41. #line default
  42. #line hidden
  43. #line 55 "..\..\..\MainWindow.xaml"
  44. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  45. internal System.Windows.Controls.Button button1;
  46. #line default
  47. #line hidden
  48. #line 58 "..\..\..\MainWindow.xaml"
  49. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  50. internal System.Windows.Controls.Button button2;
  51. #line default
  52. #line hidden
  53. #line 68 "..\..\..\MainWindow.xaml"
  54. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  55. internal System.Windows.Controls.ListBox PeopleListBox;
  56. #line default
  57. #line hidden
  58. #line 124 "..\..\..\MainWindow.xaml"
  59. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  60. internal System.Windows.Controls.Button ExitButton;
  61. #line default
  62. #line hidden
  63. #line 140 "..\..\..\MainWindow.xaml"
  64. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  65. internal System.Windows.Controls.TextBox SearchFilterTextBox;
  66. #line default
  67. #line hidden
  68. #line 144 "..\..\..\MainWindow.xaml"
  69. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  70. internal System.Windows.Controls.ComboBox GenderFilterComboBox;
  71. #line default
  72. #line hidden
  73. #line 162 "..\..\..\MainWindow.xaml"
  74. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  75. internal System.Windows.Controls.ComboBox AgeFilterComboBox;
  76. #line default
  77. #line hidden
  78. #line 180 "..\..\..\MainWindow.xaml"
  79. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  80. internal System.Windows.Controls.ComboBox PlaceFilterComboBox;
  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("/wpf_listbox;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.buttonsStack = ((System.Windows.Controls.StackPanel)(target));
  111. return;
  112. case 3:
  113. this.button1 = ((System.Windows.Controls.Button)(target));
  114. return;
  115. case 4:
  116. this.button2 = ((System.Windows.Controls.Button)(target));
  117. return;
  118. case 5:
  119. this.PeopleListBox = ((System.Windows.Controls.ListBox)(target));
  120. #line 67 "..\..\..\MainWindow.xaml"
  121. this.PeopleListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.PeopleListBox_MouseDoubleClick);
  122. #line default
  123. #line hidden
  124. return;
  125. case 6:
  126. this.ExitButton = ((System.Windows.Controls.Button)(target));
  127. #line 126 "..\..\..\MainWindow.xaml"
  128. this.ExitButton.Click += new System.Windows.RoutedEventHandler(this.ExitButton_Click);
  129. #line default
  130. #line hidden
  131. return;
  132. case 7:
  133. this.SearchFilterTextBox = ((System.Windows.Controls.TextBox)(target));
  134. #line 141 "..\..\..\MainWindow.xaml"
  135. this.SearchFilterTextBox.KeyUp += new System.Windows.Input.KeyEventHandler(this.SearchFilter_KeyUp);
  136. #line default
  137. #line hidden
  138. return;
  139. case 8:
  140. this.GenderFilterComboBox = ((System.Windows.Controls.ComboBox)(target));
  141. #line 145 "..\..\..\MainWindow.xaml"
  142. this.GenderFilterComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.GenderFilterComboBox_SelectionChanged_1);
  143. #line default
  144. #line hidden
  145. return;
  146. case 9:
  147. this.AgeFilterComboBox = ((System.Windows.Controls.ComboBox)(target));
  148. #line 163 "..\..\..\MainWindow.xaml"
  149. this.AgeFilterComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AgeFilterComboBox_SelectionChanged_2);
  150. #line default
  151. #line hidden
  152. return;
  153. case 10:
  154. this.PlaceFilterComboBox = ((System.Windows.Controls.ComboBox)(target));
  155. #line 181 "..\..\..\MainWindow.xaml"
  156. this.PlaceFilterComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PlaceFilterComboBox_SelectionChanged_3);
  157. #line default
  158. #line hidden
  159. return;
  160. case 11:
  161. #line 202 "..\..\..\MainWindow.xaml"
  162. ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
  163. #line default
  164. #line hidden
  165. return;
  166. case 12:
  167. #line 208 "..\..\..\MainWindow.xaml"
  168. ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
  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 31 "..\..\..\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. }