ReadonlyGauge.g.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. #pragma checksum "..\..\..\..\UI\Control\ReadonlyGauge.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E491EA4AF20D32EA559605AB1DDB8133D0084FA834D5A295D07FBBB760C52691"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // This code was generated by a tool.
  5. // Runtime Version:4.0.30319.42000
  6. //
  7. // Changes to this file may cause incorrect behavior and will be lost if
  8. // the code is regenerated.
  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.Forms.Integration;
  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 Aitex.Core.UI.Control {
  33. /// <summary>
  34. /// ReadonlyGauge
  35. /// </summary>
  36. public partial class ReadonlyGauge : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
  37. #line 7 "..\..\..\..\UI\Control\ReadonlyGauge.xaml"
  38. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  39. internal Aitex.Core.UI.Control.ReadonlyGauge readonlyGauge;
  40. #line default
  41. #line hidden
  42. #line 9 "..\..\..\..\UI\Control\ReadonlyGauge.xaml"
  43. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  44. internal System.Windows.Media.RotateTransform controlAngle;
  45. #line default
  46. #line hidden
  47. #line 14 "..\..\..\..\UI\Control\ReadonlyGauge.xaml"
  48. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  49. internal System.Windows.Shapes.Rectangle rectBkground;
  50. #line default
  51. #line hidden
  52. #line 17 "..\..\..\..\UI\Control\ReadonlyGauge.xaml"
  53. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  54. internal System.Windows.Controls.Label controlValue;
  55. #line default
  56. #line hidden
  57. private bool _contentLoaded;
  58. /// <summary>
  59. /// InitializeComponent
  60. /// </summary>
  61. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  62. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  63. public void InitializeComponent() {
  64. if (_contentLoaded) {
  65. return;
  66. }
  67. _contentLoaded = true;
  68. System.Uri resourceLocater = new System.Uri("/Core;component/ui/control/readonlygauge.xaml", System.UriKind.Relative);
  69. #line 1 "..\..\..\..\UI\Control\ReadonlyGauge.xaml"
  70. System.Windows.Application.LoadComponent(this, resourceLocater);
  71. #line default
  72. #line hidden
  73. }
  74. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  75. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  76. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  77. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  78. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  79. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  80. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  81. switch (connectionId)
  82. {
  83. case 1:
  84. this.readonlyGauge = ((Aitex.Core.UI.Control.ReadonlyGauge)(target));
  85. return;
  86. case 2:
  87. this.controlAngle = ((System.Windows.Media.RotateTransform)(target));
  88. return;
  89. case 3:
  90. this.rectBkground = ((System.Windows.Shapes.Rectangle)(target));
  91. return;
  92. case 4:
  93. this.controlValue = ((System.Windows.Controls.Label)(target));
  94. return;
  95. }
  96. this._contentLoaded = true;
  97. }
  98. }
  99. }