MainWindow.g.i.cs 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. #pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A0943A2F74C880BCE8393DB6B7FE2E9A54B27A5B693A4F07308A11CCE7E04C50"
  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 athosSimulator;
  32. namespace athosSimulator {
  33. /// <summary>
  34. /// MainWindow
  35. /// </summary>
  36. public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
  37. #line 7 "..\..\MainWindow.xaml"
  38. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  39. internal athosSimulator.MainWindow self;
  40. #line default
  41. #line hidden
  42. #line 52 "..\..\MainWindow.xaml"
  43. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  44. internal System.Windows.Controls.ListView DISource;
  45. #line default
  46. #line hidden
  47. #line 73 "..\..\MainWindow.xaml"
  48. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  49. internal System.Windows.Controls.ListView DOSource;
  50. #line default
  51. #line hidden
  52. #line 95 "..\..\MainWindow.xaml"
  53. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  54. internal System.Windows.Controls.ListView AISource;
  55. #line default
  56. #line hidden
  57. #line 100 "..\..\MainWindow.xaml"
  58. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  59. internal System.Windows.Controls.ListView AOSource;
  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("/athosSimulator;component/mainwindow.xaml", System.UriKind.Relative);
  74. #line 1 "..\..\MainWindow.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.self = ((athosSimulator.MainWindow)(target));
  90. return;
  91. case 2:
  92. this.DISource = ((System.Windows.Controls.ListView)(target));
  93. return;
  94. case 4:
  95. this.DOSource = ((System.Windows.Controls.ListView)(target));
  96. return;
  97. case 6:
  98. this.AISource = ((System.Windows.Controls.ListView)(target));
  99. return;
  100. case 7:
  101. this.AOSource = ((System.Windows.Controls.ListView)(target));
  102. return;
  103. case 8:
  104. #line 126 "..\..\MainWindow.xaml"
  105. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LP1SetAll);
  106. #line default
  107. #line hidden
  108. return;
  109. case 9:
  110. #line 127 "..\..\MainWindow.xaml"
  111. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LP1SetRandom);
  112. #line default
  113. #line hidden
  114. return;
  115. case 10:
  116. #line 128 "..\..\MainWindow.xaml"
  117. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LP1ClearAll);
  118. #line default
  119. #line hidden
  120. return;
  121. case 11:
  122. #line 141 "..\..\MainWindow.xaml"
  123. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LP2SetAll);
  124. #line default
  125. #line hidden
  126. return;
  127. case 12:
  128. #line 142 "..\..\MainWindow.xaml"
  129. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LP2SetRandom);
  130. #line default
  131. #line hidden
  132. return;
  133. case 13:
  134. #line 143 "..\..\MainWindow.xaml"
  135. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LP2ClearAll);
  136. #line default
  137. #line hidden
  138. return;
  139. }
  140. this._contentLoaded = true;
  141. }
  142. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  143. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  144. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  145. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  146. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  147. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  148. void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
  149. switch (connectionId)
  150. {
  151. case 3:
  152. #line 61 "..\..\MainWindow.xaml"
  153. ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_DIChecked);
  154. #line default
  155. #line hidden
  156. #line 61 "..\..\MainWindow.xaml"
  157. ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_DIUnChecked);
  158. #line default
  159. #line hidden
  160. break;
  161. case 5:
  162. #line 82 "..\..\MainWindow.xaml"
  163. ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_DOChecked);
  164. #line default
  165. #line hidden
  166. #line 82 "..\..\MainWindow.xaml"
  167. ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_DOUnChecked);
  168. #line default
  169. #line hidden
  170. break;
  171. }
  172. }
  173. }
  174. }