MainWindow.g.i.cs 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. #pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "5DA5664B4E2D716DCD4CA5A865A51C1F7C493EA43E61ABDE41B92533A13A5C47"
  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. namespace ych {
  32. /// <summary>
  33. /// MainWindow
  34. /// </summary>
  35. public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
  36. #line 56 "..\..\MainWindow.xaml"
  37. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  38. internal System.Windows.Controls.TextBlock RoleLabel;
  39. #line default
  40. #line hidden
  41. #line 67 "..\..\MainWindow.xaml"
  42. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  43. internal System.Windows.Controls.Button BtnStudents;
  44. #line default
  45. #line hidden
  46. #line 71 "..\..\MainWindow.xaml"
  47. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  48. internal System.Windows.Controls.Button BtnSubjects;
  49. #line default
  50. #line hidden
  51. #line 75 "..\..\MainWindow.xaml"
  52. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  53. internal System.Windows.Controls.Button BtnTeachers;
  54. #line default
  55. #line hidden
  56. #line 79 "..\..\MainWindow.xaml"
  57. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  58. internal System.Windows.Controls.Button BtnGroups;
  59. #line default
  60. #line hidden
  61. #line 83 "..\..\MainWindow.xaml"
  62. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  63. internal System.Windows.Controls.Button BtnGrades;
  64. #line default
  65. #line hidden
  66. #line 119 "..\..\MainWindow.xaml"
  67. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  68. internal System.Windows.Controls.TextBlock TitleText;
  69. #line default
  70. #line hidden
  71. #line 126 "..\..\MainWindow.xaml"
  72. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  73. internal System.Windows.Controls.StackPanel ActionPanel;
  74. #line default
  75. #line hidden
  76. #line 131 "..\..\MainWindow.xaml"
  77. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  78. internal System.Windows.Controls.Button BtnAdd;
  79. #line default
  80. #line hidden
  81. #line 144 "..\..\MainWindow.xaml"
  82. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  83. internal System.Windows.Controls.Button BtnDelete;
  84. #line default
  85. #line hidden
  86. #line 151 "..\..\MainWindow.xaml"
  87. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  88. internal System.Windows.Controls.DataGrid MainGrid;
  89. #line default
  90. #line hidden
  91. #line 174 "..\..\MainWindow.xaml"
  92. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  93. internal System.Windows.Controls.TextBlock StatusText;
  94. #line default
  95. #line hidden
  96. private bool _contentLoaded;
  97. /// <summary>
  98. /// InitializeComponent
  99. /// </summary>
  100. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  101. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  102. public void InitializeComponent() {
  103. if (_contentLoaded) {
  104. return;
  105. }
  106. _contentLoaded = true;
  107. System.Uri resourceLocater = new System.Uri("/ych;component/mainwindow.xaml", System.UriKind.Relative);
  108. #line 1 "..\..\MainWindow.xaml"
  109. System.Windows.Application.LoadComponent(this, resourceLocater);
  110. #line default
  111. #line hidden
  112. }
  113. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  114. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  115. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  116. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  117. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  118. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  119. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  120. switch (connectionId)
  121. {
  122. case 1:
  123. this.RoleLabel = ((System.Windows.Controls.TextBlock)(target));
  124. return;
  125. case 2:
  126. this.BtnStudents = ((System.Windows.Controls.Button)(target));
  127. #line 70 "..\..\MainWindow.xaml"
  128. this.BtnStudents.Click += new System.Windows.RoutedEventHandler(this.ShowStudents);
  129. #line default
  130. #line hidden
  131. return;
  132. case 3:
  133. this.BtnSubjects = ((System.Windows.Controls.Button)(target));
  134. #line 74 "..\..\MainWindow.xaml"
  135. this.BtnSubjects.Click += new System.Windows.RoutedEventHandler(this.ShowSubjects);
  136. #line default
  137. #line hidden
  138. return;
  139. case 4:
  140. this.BtnTeachers = ((System.Windows.Controls.Button)(target));
  141. #line 78 "..\..\MainWindow.xaml"
  142. this.BtnTeachers.Click += new System.Windows.RoutedEventHandler(this.ShowTeachers);
  143. #line default
  144. #line hidden
  145. return;
  146. case 5:
  147. this.BtnGroups = ((System.Windows.Controls.Button)(target));
  148. #line 82 "..\..\MainWindow.xaml"
  149. this.BtnGroups.Click += new System.Windows.RoutedEventHandler(this.ShowGroups);
  150. #line default
  151. #line hidden
  152. return;
  153. case 6:
  154. this.BtnGrades = ((System.Windows.Controls.Button)(target));
  155. #line 86 "..\..\MainWindow.xaml"
  156. this.BtnGrades.Click += new System.Windows.RoutedEventHandler(this.ShowGrades);
  157. #line default
  158. #line hidden
  159. return;
  160. case 7:
  161. #line 96 "..\..\MainWindow.xaml"
  162. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowFailing);
  163. #line default
  164. #line hidden
  165. return;
  166. case 8:
  167. #line 99 "..\..\MainWindow.xaml"
  168. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowAvg);
  169. #line default
  170. #line hidden
  171. return;
  172. case 9:
  173. #line 106 "..\..\MainWindow.xaml"
  174. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Logout_Click);
  175. #line default
  176. #line hidden
  177. return;
  178. case 10:
  179. this.TitleText = ((System.Windows.Controls.TextBlock)(target));
  180. return;
  181. case 11:
  182. this.ActionPanel = ((System.Windows.Controls.StackPanel)(target));
  183. return;
  184. case 12:
  185. this.BtnAdd = ((System.Windows.Controls.Button)(target));
  186. #line 135 "..\..\MainWindow.xaml"
  187. this.BtnAdd.Click += new System.Windows.RoutedEventHandler(this.AddRow);
  188. #line default
  189. #line hidden
  190. return;
  191. case 13:
  192. #line 141 "..\..\MainWindow.xaml"
  193. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveRow);
  194. #line default
  195. #line hidden
  196. return;
  197. case 14:
  198. this.BtnDelete = ((System.Windows.Controls.Button)(target));
  199. #line 148 "..\..\MainWindow.xaml"
  200. this.BtnDelete.Click += new System.Windows.RoutedEventHandler(this.DeleteRow);
  201. #line default
  202. #line hidden
  203. return;
  204. case 15:
  205. this.MainGrid = ((System.Windows.Controls.DataGrid)(target));
  206. return;
  207. case 16:
  208. this.StatusText = ((System.Windows.Controls.TextBlock)(target));
  209. return;
  210. }
  211. this._contentLoaded = true;
  212. }
  213. }
  214. }