MainWnd.g.cs 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. #pragma checksum "..\..\..\..\UI\Views\MainWnd.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "2BCEC5E6802E971D456E01370F36B43E765AA88B26F6A7DCD405F5AA5CBC7B1D"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // Этот код создан программой.
  5. // Исполняемая версия:4.0.30319.42000
  6. //
  7. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  8. // повторной генерации кода.
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using RR2;
  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 RR2.UI.Views {
  33. /// <summary>
  34. /// MainWnd
  35. /// </summary>
  36. public partial class MainWnd : System.Windows.Window, System.Windows.Markup.IComponentConnector {
  37. #line 7 "..\..\..\..\UI\Views\MainWnd.xaml"
  38. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  39. internal RR2.UI.Views.MainWnd home;
  40. #line default
  41. #line hidden
  42. #line 31 "..\..\..\..\UI\Views\MainWnd.xaml"
  43. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  44. internal System.Windows.Controls.Button CloseBtn;
  45. #line default
  46. #line hidden
  47. #line 32 "..\..\..\..\UI\Views\MainWnd.xaml"
  48. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  49. internal System.Windows.Controls.Button RestoreBtn;
  50. #line default
  51. #line hidden
  52. #line 33 "..\..\..\..\UI\Views\MainWnd.xaml"
  53. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  54. internal System.Windows.Controls.Button MinimizeBtn;
  55. #line default
  56. #line hidden
  57. #line 38 "..\..\..\..\UI\Views\MainWnd.xaml"
  58. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  59. internal System.Windows.Controls.Frame MainFr;
  60. #line default
  61. #line hidden
  62. private bool _contentLoaded;
  63. /// <summary>
  64. /// InitializeComponent
  65. /// </summary>
  66. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  67. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  68. public void InitializeComponent() {
  69. if (_contentLoaded) {
  70. return;
  71. }
  72. _contentLoaded = true;
  73. System.Uri resourceLocater = new System.Uri("/RR2;component/ui/views/mainwnd.xaml", System.UriKind.Relative);
  74. #line 1 "..\..\..\..\UI\Views\MainWnd.xaml"
  75. System.Windows.Application.LoadComponent(this, resourceLocater);
  76. #line default
  77. #line hidden
  78. }
  79. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  80. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  81. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  82. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  83. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  84. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  85. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  86. switch (connectionId)
  87. {
  88. case 1:
  89. this.home = ((RR2.UI.Views.MainWnd)(target));
  90. return;
  91. case 2:
  92. #line 13 "..\..\..\..\UI\Views\MainWnd.xaml"
  93. ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonDown);
  94. #line default
  95. #line hidden
  96. return;
  97. case 3:
  98. this.CloseBtn = ((System.Windows.Controls.Button)(target));
  99. #line 31 "..\..\..\..\UI\Views\MainWnd.xaml"
  100. this.CloseBtn.Click += new System.Windows.RoutedEventHandler(this.CloseBtn_Click);
  101. #line default
  102. #line hidden
  103. return;
  104. case 4:
  105. this.RestoreBtn = ((System.Windows.Controls.Button)(target));
  106. #line 32 "..\..\..\..\UI\Views\MainWnd.xaml"
  107. this.RestoreBtn.Click += new System.Windows.RoutedEventHandler(this.RestoreBtn_Click);
  108. #line default
  109. #line hidden
  110. return;
  111. case 5:
  112. this.MinimizeBtn = ((System.Windows.Controls.Button)(target));
  113. #line 33 "..\..\..\..\UI\Views\MainWnd.xaml"
  114. this.MinimizeBtn.Click += new System.Windows.RoutedEventHandler(this.MinimizeBtn_Click);
  115. #line default
  116. #line hidden
  117. return;
  118. case 6:
  119. this.MainFr = ((System.Windows.Controls.Frame)(target));
  120. return;
  121. }
  122. this._contentLoaded = true;
  123. }
  124. }
  125. }