MainWindow.g.i.cs 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. #pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "60875919F725BF1686079904B8C3C46512EE5FD5C28C5229172DBF38906FD653"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // Этот код создан программой.
  5. // Исполняемая версия:4.0.30319.42000
  6. //
  7. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  8. // повторной генерации кода.
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using BookStokeSQL;
  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 BookStokeSQL {
  33. /// <summary>
  34. /// MainWindow
  35. /// </summary>
  36. public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
  37. #line 18 "..\..\MainWindow.xaml"
  38. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  39. internal System.Windows.Controls.DataGrid BooksGrid;
  40. #line default
  41. #line hidden
  42. #line 26 "..\..\MainWindow.xaml"
  43. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  44. internal System.Windows.Controls.Button BtnDelete;
  45. #line default
  46. #line hidden
  47. #line 43 "..\..\MainWindow.xaml"
  48. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  49. internal System.Windows.Controls.TextBox TbName;
  50. #line default
  51. #line hidden
  52. #line 44 "..\..\MainWindow.xaml"
  53. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  54. internal System.Windows.Controls.TextBox TbPrice;
  55. #line default
  56. #line hidden
  57. #line 45 "..\..\MainWindow.xaml"
  58. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  59. internal System.Windows.Controls.TextBox TbCategory;
  60. #line default
  61. #line hidden
  62. #line 46 "..\..\MainWindow.xaml"
  63. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  64. internal System.Windows.Controls.TextBox TbAuthor;
  65. #line default
  66. #line hidden
  67. #line 47 "..\..\MainWindow.xaml"
  68. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  69. internal System.Windows.Controls.Button BtnInsert;
  70. #line default
  71. #line hidden
  72. #line 48 "..\..\MainWindow.xaml"
  73. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  74. internal System.Windows.Controls.Button BtnUpdate;
  75. #line default
  76. #line hidden
  77. private bool _contentLoaded;
  78. /// <summary>
  79. /// InitializeComponent
  80. /// </summary>
  81. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  82. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  83. public void InitializeComponent() {
  84. if (_contentLoaded) {
  85. return;
  86. }
  87. _contentLoaded = true;
  88. System.Uri resourceLocater = new System.Uri("/BookStokeSQL;component/mainwindow.xaml", System.UriKind.Relative);
  89. #line 1 "..\..\MainWindow.xaml"
  90. System.Windows.Application.LoadComponent(this, resourceLocater);
  91. #line default
  92. #line hidden
  93. }
  94. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  95. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  96. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  97. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  98. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  99. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  100. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  101. switch (connectionId)
  102. {
  103. case 1:
  104. this.BooksGrid = ((System.Windows.Controls.DataGrid)(target));
  105. #line 18 "..\..\MainWindow.xaml"
  106. this.BooksGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.BooksGrid_SelectionChanged);
  107. #line default
  108. #line hidden
  109. return;
  110. case 2:
  111. this.BtnDelete = ((System.Windows.Controls.Button)(target));
  112. #line 26 "..\..\MainWindow.xaml"
  113. this.BtnDelete.Click += new System.Windows.RoutedEventHandler(this.BtnDelete_Click);
  114. #line default
  115. #line hidden
  116. return;
  117. case 3:
  118. this.TbName = ((System.Windows.Controls.TextBox)(target));
  119. return;
  120. case 4:
  121. this.TbPrice = ((System.Windows.Controls.TextBox)(target));
  122. return;
  123. case 5:
  124. this.TbCategory = ((System.Windows.Controls.TextBox)(target));
  125. return;
  126. case 6:
  127. this.TbAuthor = ((System.Windows.Controls.TextBox)(target));
  128. return;
  129. case 7:
  130. this.BtnInsert = ((System.Windows.Controls.Button)(target));
  131. #line 47 "..\..\MainWindow.xaml"
  132. this.BtnInsert.Click += new System.Windows.RoutedEventHandler(this.BtnInsert_CLick);
  133. #line default
  134. #line hidden
  135. return;
  136. case 8:
  137. this.BtnUpdate = ((System.Windows.Controls.Button)(target));
  138. #line 48 "..\..\MainWindow.xaml"
  139. this.BtnUpdate.Click += new System.Windows.RoutedEventHandler(this.BtnUpdate_Click);
  140. #line default
  141. #line hidden
  142. return;
  143. }
  144. this._contentLoaded = true;
  145. }
  146. }
  147. }