SysAdmin.g.cs 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592
  1. #pragma checksum "..\..\SysAdmin.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "94AE40D13B4293F721BEE1959CDB7219244555DA5C7D3501F0A5365C25A13ACE"
  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.Data;
  18. using System.Windows.Documents;
  19. using System.Windows.Ink;
  20. using System.Windows.Input;
  21. using System.Windows.Markup;
  22. using System.Windows.Media;
  23. using System.Windows.Media.Animation;
  24. using System.Windows.Media.Effects;
  25. using System.Windows.Media.Imaging;
  26. using System.Windows.Media.Media3D;
  27. using System.Windows.Media.TextFormatting;
  28. using System.Windows.Navigation;
  29. using System.Windows.Shapes;
  30. using System.Windows.Shell;
  31. using mateo;
  32. namespace mateo {
  33. /// <summary>
  34. /// SysAdmin
  35. /// </summary>
  36. public partial class SysAdmin : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
  37. #line 15 "..\..\SysAdmin.xaml"
  38. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  39. internal System.Windows.Controls.TextBlock txtFio_Admin;
  40. #line default
  41. #line hidden
  42. #line 29 "..\..\SysAdmin.xaml"
  43. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  44. internal System.Windows.Controls.DataGrid datagridAttraction;
  45. #line default
  46. #line hidden
  47. #line 70 "..\..\SysAdmin.xaml"
  48. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  49. internal System.Windows.Controls.Grid gridAddAttraction;
  50. #line default
  51. #line hidden
  52. #line 74 "..\..\SysAdmin.xaml"
  53. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  54. internal System.Windows.Controls.TextBox txtName_Attraction;
  55. #line default
  56. #line hidden
  57. #line 78 "..\..\SysAdmin.xaml"
  58. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  59. internal System.Windows.Controls.TextBox txtDescription_Attraction;
  60. #line default
  61. #line hidden
  62. #line 82 "..\..\SysAdmin.xaml"
  63. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  64. internal System.Windows.Controls.TextBox txtQuantity_Attraction;
  65. #line default
  66. #line hidden
  67. #line 86 "..\..\SysAdmin.xaml"
  68. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  69. internal System.Windows.Controls.TextBox txtPriceOld_Attraction;
  70. #line default
  71. #line hidden
  72. #line 90 "..\..\SysAdmin.xaml"
  73. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  74. internal System.Windows.Controls.TextBox txtPriceBaby_Attraction;
  75. #line default
  76. #line hidden
  77. #line 94 "..\..\SysAdmin.xaml"
  78. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  79. internal System.Windows.Controls.ComboBox comboboxStatus_Attraction;
  80. #line default
  81. #line hidden
  82. #line 99 "..\..\SysAdmin.xaml"
  83. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  84. internal System.Windows.Controls.ComboBox comboboxType_Attraction;
  85. #line default
  86. #line hidden
  87. #line 103 "..\..\SysAdmin.xaml"
  88. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  89. internal System.Windows.Controls.Image imageAdd_Attraction;
  90. #line default
  91. #line hidden
  92. #line 109 "..\..\SysAdmin.xaml"
  93. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  94. internal System.Windows.Controls.Grid gridChangeAttraction;
  95. #line default
  96. #line hidden
  97. #line 113 "..\..\SysAdmin.xaml"
  98. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  99. internal System.Windows.Controls.TextBox txtChange_NameAttraction;
  100. #line default
  101. #line hidden
  102. #line 117 "..\..\SysAdmin.xaml"
  103. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  104. internal System.Windows.Controls.TextBox txtChange_Description;
  105. #line default
  106. #line hidden
  107. #line 121 "..\..\SysAdmin.xaml"
  108. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  109. internal System.Windows.Controls.TextBox txtChange_Quantity;
  110. #line default
  111. #line hidden
  112. #line 125 "..\..\SysAdmin.xaml"
  113. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  114. internal System.Windows.Controls.TextBox txtChange_PriceOldAttraction;
  115. #line default
  116. #line hidden
  117. #line 129 "..\..\SysAdmin.xaml"
  118. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  119. internal System.Windows.Controls.TextBox txtChange_PriceBabyAttraction;
  120. #line default
  121. #line hidden
  122. #line 133 "..\..\SysAdmin.xaml"
  123. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  124. internal System.Windows.Controls.ComboBox comboboxChange_StatusAttraction;
  125. #line default
  126. #line hidden
  127. #line 138 "..\..\SysAdmin.xaml"
  128. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  129. internal System.Windows.Controls.ComboBox comboboxChange_TypeAttraction;
  130. #line default
  131. #line hidden
  132. #line 142 "..\..\SysAdmin.xaml"
  133. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  134. internal System.Windows.Controls.Image imageChange_Attraction;
  135. #line default
  136. #line hidden
  137. #line 151 "..\..\SysAdmin.xaml"
  138. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  139. internal System.Windows.Controls.TabItem tabEmployees;
  140. #line default
  141. #line hidden
  142. #line 153 "..\..\SysAdmin.xaml"
  143. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  144. internal System.Windows.Controls.DataGrid datagridEmployees;
  145. #line default
  146. #line hidden
  147. #line 172 "..\..\SysAdmin.xaml"
  148. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  149. internal System.Windows.Controls.Grid gridAddEmployees;
  150. #line default
  151. #line hidden
  152. #line 176 "..\..\SysAdmin.xaml"
  153. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  154. internal System.Windows.Controls.TextBox txtLastName_Employyes;
  155. #line default
  156. #line hidden
  157. #line 180 "..\..\SysAdmin.xaml"
  158. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  159. internal System.Windows.Controls.TextBox txtFirstName_Employyes;
  160. #line default
  161. #line hidden
  162. #line 184 "..\..\SysAdmin.xaml"
  163. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  164. internal System.Windows.Controls.TextBox txtMiddleName_Employees;
  165. #line default
  166. #line hidden
  167. #line 188 "..\..\SysAdmin.xaml"
  168. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  169. internal System.Windows.Controls.ComboBox comboboxRole_Employees;
  170. #line default
  171. #line hidden
  172. #line 195 "..\..\SysAdmin.xaml"
  173. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  174. internal System.Windows.Controls.ComboBox comboboxStatus_Employees;
  175. #line default
  176. #line hidden
  177. #line 230 "..\..\SysAdmin.xaml"
  178. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  179. internal System.Windows.Controls.Grid gridChangeEmployees;
  180. #line default
  181. #line hidden
  182. #line 234 "..\..\SysAdmin.xaml"
  183. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  184. internal System.Windows.Controls.TextBox txtLastName_ChangeEmployyes;
  185. #line default
  186. #line hidden
  187. #line 238 "..\..\SysAdmin.xaml"
  188. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  189. internal System.Windows.Controls.TextBox txtFirstName_ChangeEmployyes;
  190. #line default
  191. #line hidden
  192. #line 242 "..\..\SysAdmin.xaml"
  193. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  194. internal System.Windows.Controls.TextBox txtMiddleName_ChangeEmployees;
  195. #line default
  196. #line hidden
  197. #line 246 "..\..\SysAdmin.xaml"
  198. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  199. internal System.Windows.Controls.ComboBox comboboxRole_ChangeEmployees;
  200. #line default
  201. #line hidden
  202. #line 253 "..\..\SysAdmin.xaml"
  203. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  204. internal System.Windows.Controls.ComboBox comboboxStatus_ChangeEmployees;
  205. #line default
  206. #line hidden
  207. private bool _contentLoaded;
  208. /// <summary>
  209. /// InitializeComponent
  210. /// </summary>
  211. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  212. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  213. public void InitializeComponent() {
  214. if (_contentLoaded) {
  215. return;
  216. }
  217. _contentLoaded = true;
  218. System.Uri resourceLocater = new System.Uri("/mateo;component/sysadmin.xaml", System.UriKind.Relative);
  219. #line 1 "..\..\SysAdmin.xaml"
  220. System.Windows.Application.LoadComponent(this, resourceLocater);
  221. #line default
  222. #line hidden
  223. }
  224. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  225. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  226. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  227. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  228. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  229. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  230. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  231. switch (connectionId)
  232. {
  233. case 1:
  234. this.txtFio_Admin = ((System.Windows.Controls.TextBlock)(target));
  235. return;
  236. case 2:
  237. #line 16 "..\..\SysAdmin.xaml"
  238. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnLogout);
  239. #line default
  240. #line hidden
  241. return;
  242. case 3:
  243. #line 19 "..\..\SysAdmin.xaml"
  244. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnExit);
  245. #line default
  246. #line hidden
  247. return;
  248. case 4:
  249. this.datagridAttraction = ((System.Windows.Controls.DataGrid)(target));
  250. return;
  251. case 6:
  252. #line 68 "..\..\SysAdmin.xaml"
  253. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnAddNewAttractionClick);
  254. #line default
  255. #line hidden
  256. return;
  257. case 7:
  258. this.gridAddAttraction = ((System.Windows.Controls.Grid)(target));
  259. return;
  260. case 8:
  261. this.txtName_Attraction = ((System.Windows.Controls.TextBox)(target));
  262. return;
  263. case 9:
  264. this.txtDescription_Attraction = ((System.Windows.Controls.TextBox)(target));
  265. return;
  266. case 10:
  267. this.txtQuantity_Attraction = ((System.Windows.Controls.TextBox)(target));
  268. return;
  269. case 11:
  270. this.txtPriceOld_Attraction = ((System.Windows.Controls.TextBox)(target));
  271. return;
  272. case 12:
  273. this.txtPriceBaby_Attraction = ((System.Windows.Controls.TextBox)(target));
  274. return;
  275. case 13:
  276. this.comboboxStatus_Attraction = ((System.Windows.Controls.ComboBox)(target));
  277. return;
  278. case 14:
  279. this.comboboxType_Attraction = ((System.Windows.Controls.ComboBox)(target));
  280. return;
  281. case 15:
  282. this.imageAdd_Attraction = ((System.Windows.Controls.Image)(target));
  283. return;
  284. case 16:
  285. #line 104 "..\..\SysAdmin.xaml"
  286. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnAddImage);
  287. #line default
  288. #line hidden
  289. return;
  290. case 17:
  291. #line 105 "..\..\SysAdmin.xaml"
  292. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnAddAttractionClick);
  293. #line default
  294. #line hidden
  295. return;
  296. case 18:
  297. #line 106 "..\..\SysAdmin.xaml"
  298. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBackAttractionClick);
  299. #line default
  300. #line hidden
  301. return;
  302. case 19:
  303. this.gridChangeAttraction = ((System.Windows.Controls.Grid)(target));
  304. return;
  305. case 20:
  306. this.txtChange_NameAttraction = ((System.Windows.Controls.TextBox)(target));
  307. return;
  308. case 21:
  309. this.txtChange_Description = ((System.Windows.Controls.TextBox)(target));
  310. return;
  311. case 22:
  312. this.txtChange_Quantity = ((System.Windows.Controls.TextBox)(target));
  313. return;
  314. case 23:
  315. this.txtChange_PriceOldAttraction = ((System.Windows.Controls.TextBox)(target));
  316. return;
  317. case 24:
  318. this.txtChange_PriceBabyAttraction = ((System.Windows.Controls.TextBox)(target));
  319. return;
  320. case 25:
  321. this.comboboxChange_StatusAttraction = ((System.Windows.Controls.ComboBox)(target));
  322. return;
  323. case 26:
  324. this.comboboxChange_TypeAttraction = ((System.Windows.Controls.ComboBox)(target));
  325. return;
  326. case 27:
  327. this.imageChange_Attraction = ((System.Windows.Controls.Image)(target));
  328. return;
  329. case 28:
  330. #line 143 "..\..\SysAdmin.xaml"
  331. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnChangeImageClick);
  332. #line default
  333. #line hidden
  334. return;
  335. case 29:
  336. #line 144 "..\..\SysAdmin.xaml"
  337. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnSaveChangeClick);
  338. #line default
  339. #line hidden
  340. return;
  341. case 30:
  342. #line 145 "..\..\SysAdmin.xaml"
  343. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBackAttractionClick);
  344. #line default
  345. #line hidden
  346. return;
  347. case 31:
  348. this.tabEmployees = ((System.Windows.Controls.TabItem)(target));
  349. return;
  350. case 32:
  351. this.datagridEmployees = ((System.Windows.Controls.DataGrid)(target));
  352. return;
  353. case 34:
  354. #line 170 "..\..\SysAdmin.xaml"
  355. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnAddNewEmployeesClick);
  356. #line default
  357. #line hidden
  358. return;
  359. case 35:
  360. this.gridAddEmployees = ((System.Windows.Controls.Grid)(target));
  361. return;
  362. case 36:
  363. this.txtLastName_Employyes = ((System.Windows.Controls.TextBox)(target));
  364. return;
  365. case 37:
  366. this.txtFirstName_Employyes = ((System.Windows.Controls.TextBox)(target));
  367. return;
  368. case 38:
  369. this.txtMiddleName_Employees = ((System.Windows.Controls.TextBox)(target));
  370. return;
  371. case 39:
  372. this.comboboxRole_Employees = ((System.Windows.Controls.ComboBox)(target));
  373. return;
  374. case 40:
  375. this.comboboxStatus_Employees = ((System.Windows.Controls.ComboBox)(target));
  376. return;
  377. case 41:
  378. #line 226 "..\..\SysAdmin.xaml"
  379. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnAddEmployeesClick);
  380. #line default
  381. #line hidden
  382. return;
  383. case 42:
  384. #line 227 "..\..\SysAdmin.xaml"
  385. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBackEmployeesClick);
  386. #line default
  387. #line hidden
  388. return;
  389. case 43:
  390. this.gridChangeEmployees = ((System.Windows.Controls.Grid)(target));
  391. return;
  392. case 44:
  393. this.txtLastName_ChangeEmployyes = ((System.Windows.Controls.TextBox)(target));
  394. return;
  395. case 45:
  396. this.txtFirstName_ChangeEmployyes = ((System.Windows.Controls.TextBox)(target));
  397. return;
  398. case 46:
  399. this.txtMiddleName_ChangeEmployees = ((System.Windows.Controls.TextBox)(target));
  400. return;
  401. case 47:
  402. this.comboboxRole_ChangeEmployees = ((System.Windows.Controls.ComboBox)(target));
  403. return;
  404. case 48:
  405. this.comboboxStatus_ChangeEmployees = ((System.Windows.Controls.ComboBox)(target));
  406. return;
  407. case 49:
  408. #line 260 "..\..\SysAdmin.xaml"
  409. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnSaveChangeEmployeesClick);
  410. #line default
  411. #line hidden
  412. return;
  413. case 50:
  414. #line 261 "..\..\SysAdmin.xaml"
  415. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBackEmployeesClick);
  416. #line default
  417. #line hidden
  418. return;
  419. }
  420. this._contentLoaded = true;
  421. }
  422. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  423. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  424. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  425. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  426. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  427. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  428. void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
  429. switch (connectionId)
  430. {
  431. case 5:
  432. #line 61 "..\..\SysAdmin.xaml"
  433. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnChangeAttractionClick);
  434. #line default
  435. #line hidden
  436. break;
  437. case 33:
  438. #line 163 "..\..\SysAdmin.xaml"
  439. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnChangeEmployeesClick);
  440. #line default
  441. #line hidden
  442. break;
  443. }
  444. }
  445. }
  446. }