PageRenderTime 54ms CodeModel.GetById 25ms RepoModel.GetById 1ms app.codeStats 0ms

/IIO11300Vktehtavat/H12BookShopEF/obj/Debug/MainWindow.g.cs

https://gitlab.com/mimahone/IIO11300
C# | 313 lines | 220 code | 78 blank | 15 comment | 2 complexity | beec67de7d43b03436f3eb9ee3b56fe7 MD5 | raw file
  1. #pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "FD5B7A7E4ECD1FF4A1E336A2248A2F31"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // This code was generated by a tool.
  5. // Runtime Version:4.0.30319.42000
  6. //
  7. // Changes to this file may cause incorrect behavior and will be lost if
  8. // the code is regenerated.
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using H12BookShopEF;
  12. using System;
  13. using System.Diagnostics;
  14. using System.Windows;
  15. using System.Windows.Automation;
  16. using System.Windows.Controls;
  17. using System.Windows.Controls.Primitives;
  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. namespace H12BookShopEF {
  33. /// <summary>
  34. /// MainWindow
  35. /// </summary>
  36. public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
  37. #line 15 "..\..\MainWindow.xaml"
  38. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  39. internal System.Windows.Controls.Button btnGetCustomers;
  40. #line default
  41. #line hidden
  42. #line 16 "..\..\MainWindow.xaml"
  43. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  44. internal System.Windows.Controls.Button btnGetBooks;
  45. #line default
  46. #line hidden
  47. #line 17 "..\..\MainWindow.xaml"
  48. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  49. internal System.Windows.Controls.ComboBox cbCountries;
  50. #line default
  51. #line hidden
  52. #line 21 "..\..\MainWindow.xaml"
  53. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  54. internal System.Windows.Controls.StackPanel spBook;
  55. #line default
  56. #line hidden
  57. #line 22 "..\..\MainWindow.xaml"
  58. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  59. internal System.Windows.Controls.Grid FormLayoutGrid;
  60. #line default
  61. #line hidden
  62. #line 41 "..\..\MainWindow.xaml"
  63. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  64. internal System.Windows.Controls.TextBlock txtBook;
  65. #line default
  66. #line hidden
  67. #line 44 "..\..\MainWindow.xaml"
  68. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  69. internal System.Windows.Controls.TextBox txtName;
  70. #line default
  71. #line hidden
  72. #line 47 "..\..\MainWindow.xaml"
  73. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  74. internal System.Windows.Controls.TextBox txtAuthor;
  75. #line default
  76. #line hidden
  77. #line 50 "..\..\MainWindow.xaml"
  78. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  79. internal System.Windows.Controls.TextBox txtCountry;
  80. #line default
  81. #line hidden
  82. #line 53 "..\..\MainWindow.xaml"
  83. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  84. internal System.Windows.Controls.TextBox txtYear;
  85. #line default
  86. #line hidden
  87. #line 55 "..\..\MainWindow.xaml"
  88. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  89. internal System.Windows.Controls.Button btnSave;
  90. #line default
  91. #line hidden
  92. #line 56 "..\..\MainWindow.xaml"
  93. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  94. internal System.Windows.Controls.Button btnNew;
  95. #line default
  96. #line hidden
  97. #line 57 "..\..\MainWindow.xaml"
  98. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  99. internal System.Windows.Controls.Button btnDelete;
  100. #line default
  101. #line hidden
  102. #line 62 "..\..\MainWindow.xaml"
  103. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  104. internal System.Windows.Controls.StackPanel spCustomer;
  105. #line default
  106. #line hidden
  107. #line 63 "..\..\MainWindow.xaml"
  108. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  109. internal System.Windows.Controls.Grid FormLayoutGrid2;
  110. #line default
  111. #line hidden
  112. #line 93 "..\..\MainWindow.xaml"
  113. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  114. internal System.Windows.Controls.Button btnGetCustomerOrders;
  115. #line default
  116. #line hidden
  117. #line 109 "..\..\MainWindow.xaml"
  118. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  119. internal System.Windows.Controls.DataGrid dgBooks;
  120. #line default
  121. #line hidden
  122. private bool _contentLoaded;
  123. /// <summary>
  124. /// InitializeComponent
  125. /// </summary>
  126. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  127. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  128. public void InitializeComponent() {
  129. if (_contentLoaded) {
  130. return;
  131. }
  132. _contentLoaded = true;
  133. System.Uri resourceLocater = new System.Uri("/H12BookShopEF;component/mainwindow.xaml", System.UriKind.Relative);
  134. #line 1 "..\..\MainWindow.xaml"
  135. System.Windows.Application.LoadComponent(this, resourceLocater);
  136. #line default
  137. #line hidden
  138. }
  139. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  140. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  141. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  142. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  143. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  144. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  145. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  146. switch (connectionId)
  147. {
  148. case 1:
  149. this.btnGetCustomers = ((System.Windows.Controls.Button)(target));
  150. #line 15 "..\..\MainWindow.xaml"
  151. this.btnGetCustomers.Click += new System.Windows.RoutedEventHandler(this.btnGetCustomers_Click);
  152. #line default
  153. #line hidden
  154. return;
  155. case 2:
  156. this.btnGetBooks = ((System.Windows.Controls.Button)(target));
  157. #line 16 "..\..\MainWindow.xaml"
  158. this.btnGetBooks.Click += new System.Windows.RoutedEventHandler(this.btnGetBooks_Click);
  159. #line default
  160. #line hidden
  161. return;
  162. case 3:
  163. this.cbCountries = ((System.Windows.Controls.ComboBox)(target));
  164. #line 17 "..\..\MainWindow.xaml"
  165. this.cbCountries.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbCountries_SelectionChanged);
  166. #line default
  167. #line hidden
  168. return;
  169. case 4:
  170. this.spBook = ((System.Windows.Controls.StackPanel)(target));
  171. return;
  172. case 5:
  173. this.FormLayoutGrid = ((System.Windows.Controls.Grid)(target));
  174. return;
  175. case 6:
  176. this.txtBook = ((System.Windows.Controls.TextBlock)(target));
  177. return;
  178. case 7:
  179. this.txtName = ((System.Windows.Controls.TextBox)(target));
  180. return;
  181. case 8:
  182. this.txtAuthor = ((System.Windows.Controls.TextBox)(target));
  183. return;
  184. case 9:
  185. this.txtCountry = ((System.Windows.Controls.TextBox)(target));
  186. return;
  187. case 10:
  188. this.txtYear = ((System.Windows.Controls.TextBox)(target));
  189. return;
  190. case 11:
  191. this.btnSave = ((System.Windows.Controls.Button)(target));
  192. #line 55 "..\..\MainWindow.xaml"
  193. this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
  194. #line default
  195. #line hidden
  196. return;
  197. case 12:
  198. this.btnNew = ((System.Windows.Controls.Button)(target));
  199. #line 56 "..\..\MainWindow.xaml"
  200. this.btnNew.Click += new System.Windows.RoutedEventHandler(this.btnNew_Click);
  201. #line default
  202. #line hidden
  203. return;
  204. case 13:
  205. this.btnDelete = ((System.Windows.Controls.Button)(target));
  206. #line 57 "..\..\MainWindow.xaml"
  207. this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click);
  208. #line default
  209. #line hidden
  210. return;
  211. case 14:
  212. this.spCustomer = ((System.Windows.Controls.StackPanel)(target));
  213. return;
  214. case 15:
  215. this.FormLayoutGrid2 = ((System.Windows.Controls.Grid)(target));
  216. return;
  217. case 16:
  218. this.btnGetCustomerOrders = ((System.Windows.Controls.Button)(target));
  219. #line 93 "..\..\MainWindow.xaml"
  220. this.btnGetCustomerOrders.Click += new System.Windows.RoutedEventHandler(this.btnGetCustomerOrders_Click);
  221. #line default
  222. #line hidden
  223. return;
  224. case 17:
  225. this.dgBooks = ((System.Windows.Controls.DataGrid)(target));
  226. #line 109 "..\..\MainWindow.xaml"
  227. this.dgBooks.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgBooks_SelectionChanged);
  228. #line default
  229. #line hidden
  230. return;
  231. }
  232. this._contentLoaded = true;
  233. }
  234. }
  235. }