MainWindow.g.i.cs 7.3 KB

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