Page2.g.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. #pragma checksum "..\..\Page2.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "AF650095EFC314BAE36C53EFB91ED4C0C2F7D0B08896E68EE1FE7B2E48C02559"
  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 WpfApp1;
  32. namespace WpfApp1 {
  33. /// <summary>
  34. /// Page2
  35. /// </summary>
  36. public partial class Page2 : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
  37. #line 20 "..\..\Page2.xaml"
  38. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  39. internal System.Windows.Controls.TextBox HeightTextBox;
  40. #line default
  41. #line hidden
  42. #line 25 "..\..\Page2.xaml"
  43. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  44. internal System.Windows.Controls.TextBox TimeTextBox;
  45. #line default
  46. #line hidden
  47. #line 39 "..\..\Page2.xaml"
  48. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  49. internal System.Windows.Controls.Label ResultLabel;
  50. #line default
  51. #line hidden
  52. private bool _contentLoaded;
  53. /// <summary>
  54. /// InitializeComponent
  55. /// </summary>
  56. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  57. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  58. public void InitializeComponent() {
  59. if (_contentLoaded) {
  60. return;
  61. }
  62. _contentLoaded = true;
  63. System.Uri resourceLocater = new System.Uri("/WpfApp1;component/page2.xaml", System.UriKind.Relative);
  64. #line 1 "..\..\Page2.xaml"
  65. System.Windows.Application.LoadComponent(this, resourceLocater);
  66. #line default
  67. #line hidden
  68. }
  69. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  70. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  71. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  72. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  73. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  74. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  75. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  76. switch (connectionId)
  77. {
  78. case 1:
  79. this.HeightTextBox = ((System.Windows.Controls.TextBox)(target));
  80. return;
  81. case 2:
  82. this.TimeTextBox = ((System.Windows.Controls.TextBox)(target));
  83. return;
  84. case 3:
  85. #line 32 "..\..\Page2.xaml"
  86. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CalculateButton_Click);
  87. #line default
  88. #line hidden
  89. return;
  90. case 4:
  91. #line 33 "..\..\Page2.xaml"
  92. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
  93. #line default
  94. #line hidden
  95. return;
  96. case 5:
  97. this.ResultLabel = ((System.Windows.Controls.Label)(target));
  98. return;
  99. }
  100. this._contentLoaded = true;
  101. }
  102. }
  103. }