Window1.g.cs 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. #pragma checksum "..\..\..\Window1.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "500D4CA470E3B729FFE410F965B9570C6A529441"
  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.Controls.Ribbon;
  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. using WpfApp1;
  33. namespace WpfApp1 {
  34. /// <summary>
  35. /// Window1
  36. /// </summary>
  37. public partial class Window1 : System.Windows.Window, System.Windows.Markup.IComponentConnector {
  38. #line 23 "..\..\..\Window1.xaml"
  39. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  40. internal System.Windows.Controls.TextBox txtLogin;
  41. #line default
  42. #line hidden
  43. #line 25 "..\..\..\Window1.xaml"
  44. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  45. internal System.Windows.Controls.PasswordBox txtPassword;
  46. #line default
  47. #line hidden
  48. #line 27 "..\..\..\Window1.xaml"
  49. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  50. internal System.Windows.Controls.TextBox txtFullName;
  51. #line default
  52. #line hidden
  53. #line 29 "..\..\..\Window1.xaml"
  54. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  55. internal System.Windows.Controls.ComboBox cmbRole;
  56. #line default
  57. #line hidden
  58. private bool _contentLoaded;
  59. /// <summary>
  60. /// InitializeComponent
  61. /// </summary>
  62. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  63. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "9.0.9.0")]
  64. public void InitializeComponent() {
  65. if (_contentLoaded) {
  66. return;
  67. }
  68. _contentLoaded = true;
  69. System.Uri resourceLocater = new System.Uri("/WpfApp1;component/window1.xaml", System.UriKind.Relative);
  70. #line 1 "..\..\..\Window1.xaml"
  71. System.Windows.Application.LoadComponent(this, resourceLocater);
  72. #line default
  73. #line hidden
  74. }
  75. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  76. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "9.0.9.0")]
  77. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  78. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  79. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  80. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  81. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  82. switch (connectionId)
  83. {
  84. case 1:
  85. this.txtLogin = ((System.Windows.Controls.TextBox)(target));
  86. return;
  87. case 2:
  88. this.txtPassword = ((System.Windows.Controls.PasswordBox)(target));
  89. return;
  90. case 3:
  91. this.txtFullName = ((System.Windows.Controls.TextBox)(target));
  92. return;
  93. case 4:
  94. this.cmbRole = ((System.Windows.Controls.ComboBox)(target));
  95. return;
  96. case 5:
  97. #line 36 "..\..\..\Window1.xaml"
  98. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);
  99. #line default
  100. #line hidden
  101. return;
  102. case 6:
  103. #line 37 "..\..\..\Window1.xaml"
  104. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);
  105. #line default
  106. #line hidden
  107. return;
  108. }
  109. this._contentLoaded = true;
  110. }
  111. }
  112. }