Page1.g.i.cs 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. #pragma checksum "..\..\Page1.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3F9EAEA6F1BDCE5FB5B1EE8F6DEF3C3A14B701140113E477415B3F439720EC22"
  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 WpfApp2;
  32. namespace WpfApp2 {
  33. /// <summary>
  34. /// Page1
  35. /// </summary>
  36. public partial class Page1 : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
  37. private bool _contentLoaded;
  38. /// <summary>
  39. /// InitializeComponent
  40. /// </summary>
  41. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  42. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  43. public void InitializeComponent() {
  44. if (_contentLoaded) {
  45. return;
  46. }
  47. _contentLoaded = true;
  48. System.Uri resourceLocater = new System.Uri("/WpfApp2;component/page1.xaml", System.UriKind.Relative);
  49. #line 1 "..\..\Page1.xaml"
  50. System.Windows.Application.LoadComponent(this, resourceLocater);
  51. #line default
  52. #line hidden
  53. }
  54. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  55. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  56. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  57. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  58. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  59. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  60. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  61. switch (connectionId)
  62. {
  63. case 1:
  64. #line 15 "..\..\Page1.xaml"
  65. ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Cancel);
  66. #line default
  67. #line hidden
  68. return;
  69. case 2:
  70. #line 17 "..\..\Page1.xaml"
  71. ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Create);
  72. #line default
  73. #line hidden
  74. return;
  75. case 3:
  76. #line 18 "..\..\Page1.xaml"
  77. ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Edit);
  78. #line default
  79. #line hidden
  80. return;
  81. case 4:
  82. #line 19 "..\..\Page1.xaml"
  83. ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Save);
  84. #line default
  85. #line hidden
  86. return;
  87. case 5:
  88. #line 20 "..\..\Page1.xaml"
  89. ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Find);
  90. #line default
  91. #line hidden
  92. return;
  93. case 6:
  94. #line 22 "..\..\Page1.xaml"
  95. ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteEmployee);
  96. #line default
  97. #line hidden
  98. return;
  99. case 7:
  100. #line 26 "..\..\Page1.xaml"
  101. ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AddEmployee);
  102. #line default
  103. #line hidden
  104. return;
  105. case 8:
  106. #line 27 "..\..\Page1.xaml"
  107. ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteEmployee);
  108. #line default
  109. #line hidden
  110. return;
  111. case 9:
  112. #line 42 "..\..\Page1.xaml"
  113. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddEmployee_Click);
  114. #line default
  115. #line hidden
  116. return;
  117. case 10:
  118. #line 49 "..\..\Page1.xaml"
  119. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteEmployee_Click);
  120. #line default
  121. #line hidden
  122. return;
  123. case 11:
  124. #line 56 "..\..\Page1.xaml"
  125. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Pancel_Click);
  126. #line default
  127. #line hidden
  128. return;
  129. case 12:
  130. #line 63 "..\..\Page1.xaml"
  131. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Binocle_Click);
  132. #line default
  133. #line hidden
  134. return;
  135. case 13:
  136. #line 70 "..\..\Page1.xaml"
  137. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveFile_Click);
  138. #line default
  139. #line hidden
  140. return;
  141. case 14:
  142. #line 77 "..\..\Page1.xaml"
  143. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Close_Click);
  144. #line default
  145. #line hidden
  146. return;
  147. case 15:
  148. #line 89 "..\..\Page1.xaml"
  149. ((System.Windows.Controls.DataGrid)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged);
  150. #line default
  151. #line hidden
  152. return;
  153. }
  154. this._contentLoaded = true;
  155. }
  156. }
  157. }