NumberKeyboard.g.cs 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. #pragma checksum "..\..\..\..\CenterViews\Dialogs\NumberKeyboard.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1648C6E78F84309482790C557FA2F3A4BFC07C85058CDAC5021A0445ACFEF1B2"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // 此代码由工具生成。
  5. // 运行时版本:4.0.30319.42000
  6. //
  7. // 对此文件的更改可能会导致不正确的行为,并且如果
  8. // 重新生成代码,这些更改将会丢失。
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using MECF.Framework.UI.Client.CenterViews.Dialogs;
  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.Forms.Integration;
  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 MECF.Framework.UI.Client.CenterViews.Dialogs {
  34. /// <summary>
  35. /// NumberKeyboard
  36. /// </summary>
  37. public partial class NumberKeyboard : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
  38. #line 8 "..\..\..\..\CenterViews\Dialogs\NumberKeyboard.xaml"
  39. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  40. internal MECF.Framework.UI.Client.CenterViews.Dialogs.NumberKeyboard fullKeyboard;
  41. #line default
  42. #line hidden
  43. #line 142 "..\..\..\..\CenterViews\Dialogs\NumberKeyboard.xaml"
  44. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  45. internal System.Windows.Controls.TextBox tbValue;
  46. #line default
  47. #line hidden
  48. #line 154 "..\..\..\..\CenterViews\Dialogs\NumberKeyboard.xaml"
  49. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  50. internal System.Windows.Controls.Grid ButtonGrid;
  51. #line default
  52. #line hidden
  53. #line 180 "..\..\..\..\CenterViews\Dialogs\NumberKeyboard.xaml"
  54. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  55. internal System.Windows.Controls.Button btnMinus;
  56. #line default
  57. #line hidden
  58. #line 182 "..\..\..\..\CenterViews\Dialogs\NumberKeyboard.xaml"
  59. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  60. internal System.Windows.Controls.Button btnQuotes;
  61. #line default
  62. #line hidden
  63. #line 184 "..\..\..\..\CenterViews\Dialogs\NumberKeyboard.xaml"
  64. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  65. internal System.Windows.Controls.Button btnCancel;
  66. #line default
  67. #line hidden
  68. #line 185 "..\..\..\..\CenterViews\Dialogs\NumberKeyboard.xaml"
  69. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  70. internal System.Windows.Controls.Button btnClear;
  71. #line default
  72. #line hidden
  73. private bool _contentLoaded;
  74. /// <summary>
  75. /// InitializeComponent
  76. /// </summary>
  77. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  78. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  79. public void InitializeComponent() {
  80. if (_contentLoaded) {
  81. return;
  82. }
  83. _contentLoaded = true;
  84. System.Uri resourceLocater = new System.Uri("/MECF.Framework.UI.Client;component/centerviews/dialogs/numberkeyboard.xaml", System.UriKind.Relative);
  85. #line 1 "..\..\..\..\CenterViews\Dialogs\NumberKeyboard.xaml"
  86. System.Windows.Application.LoadComponent(this, resourceLocater);
  87. #line default
  88. #line hidden
  89. }
  90. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  91. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  92. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  93. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  94. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  95. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  96. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  97. switch (connectionId)
  98. {
  99. case 1:
  100. this.fullKeyboard = ((MECF.Framework.UI.Client.CenterViews.Dialogs.NumberKeyboard)(target));
  101. return;
  102. case 4:
  103. this.tbValue = ((System.Windows.Controls.TextBox)(target));
  104. return;
  105. case 5:
  106. this.ButtonGrid = ((System.Windows.Controls.Grid)(target));
  107. return;
  108. case 6:
  109. this.btnMinus = ((System.Windows.Controls.Button)(target));
  110. return;
  111. case 7:
  112. this.btnQuotes = ((System.Windows.Controls.Button)(target));
  113. return;
  114. case 8:
  115. this.btnCancel = ((System.Windows.Controls.Button)(target));
  116. return;
  117. case 9:
  118. this.btnClear = ((System.Windows.Controls.Button)(target));
  119. return;
  120. }
  121. this._contentLoaded = true;
  122. }
  123. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  124. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  125. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  126. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  127. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  128. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  129. void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
  130. System.Windows.EventSetter eventSetter;
  131. switch (connectionId)
  132. {
  133. case 2:
  134. eventSetter = new System.Windows.EventSetter();
  135. eventSetter.Event = System.Windows.UIElement.PreviewMouseLeftButtonDownEvent;
  136. #line 31 "..\..\..\..\CenterViews\Dialogs\NumberKeyboard.xaml"
  137. eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.Button_MouseLeftButtonDown);
  138. #line default
  139. #line hidden
  140. ((System.Windows.Style)(target)).Setters.Add(eventSetter);
  141. eventSetter = new System.Windows.EventSetter();
  142. eventSetter.Event = System.Windows.UIElement.PreviewTouchDownEvent;
  143. #line 32 "..\..\..\..\CenterViews\Dialogs\NumberKeyboard.xaml"
  144. eventSetter.Handler = new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Button_PreviewTouchDown);
  145. #line default
  146. #line hidden
  147. ((System.Windows.Style)(target)).Setters.Add(eventSetter);
  148. break;
  149. case 3:
  150. eventSetter = new System.Windows.EventSetter();
  151. eventSetter.Event = System.Windows.UIElement.PreviewMouseLeftButtonDownEvent;
  152. #line 79 "..\..\..\..\CenterViews\Dialogs\NumberKeyboard.xaml"
  153. eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.Button_MouseLeftButtonDown);
  154. #line default
  155. #line hidden
  156. ((System.Windows.Style)(target)).Setters.Add(eventSetter);
  157. eventSetter = new System.Windows.EventSetter();
  158. eventSetter.Event = System.Windows.UIElement.PreviewTouchUpEvent;
  159. #line 80 "..\..\..\..\CenterViews\Dialogs\NumberKeyboard.xaml"
  160. eventSetter.Handler = new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Button_PreviewTouchUp);
  161. #line default
  162. #line hidden
  163. ((System.Windows.Style)(target)).Setters.Add(eventSetter);
  164. break;
  165. }
  166. }
  167. }
  168. }