2025-11-14 17:11:58 +00:00
|
|
|
|
#pragma checksum "..\..\..\..\Controls\HeadingIndicator.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9C691A06C1770912C81328FFA9338C3CC5FD52A7"
|
2025-11-12 11:15:07 +00:00
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
// <auto-generated>
|
|
|
|
|
|
// This code was generated by a tool.
|
|
|
|
|
|
// Runtime Version:4.0.30319.42000
|
|
|
|
|
|
//
|
|
|
|
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
|
|
|
|
// the code is regenerated.
|
|
|
|
|
|
// </auto-generated>
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
using OperationControl.Converters;
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
|
using System.Windows;
|
|
|
|
|
|
using System.Windows.Automation;
|
|
|
|
|
|
using System.Windows.Controls;
|
|
|
|
|
|
using System.Windows.Controls.Primitives;
|
|
|
|
|
|
using System.Windows.Controls.Ribbon;
|
|
|
|
|
|
using System.Windows.Data;
|
|
|
|
|
|
using System.Windows.Documents;
|
2025-11-24 16:05:50 +00:00
|
|
|
|
using System.Windows.Forms.Integration;
|
2025-11-12 11:15:07 +00:00
|
|
|
|
using System.Windows.Ink;
|
|
|
|
|
|
using System.Windows.Input;
|
|
|
|
|
|
using System.Windows.Markup;
|
|
|
|
|
|
using System.Windows.Media;
|
|
|
|
|
|
using System.Windows.Media.Animation;
|
|
|
|
|
|
using System.Windows.Media.Effects;
|
|
|
|
|
|
using System.Windows.Media.Imaging;
|
|
|
|
|
|
using System.Windows.Media.Media3D;
|
|
|
|
|
|
using System.Windows.Media.TextFormatting;
|
|
|
|
|
|
using System.Windows.Navigation;
|
|
|
|
|
|
using System.Windows.Shapes;
|
|
|
|
|
|
using System.Windows.Shell;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace OperationControl.Controls {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// HeadingIndicator
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public partial class HeadingIndicator : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 17 "..\..\..\..\Controls\HeadingIndicator.xaml"
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
|
internal System.Windows.Controls.Border Chrome;
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 24 "..\..\..\..\Controls\HeadingIndicator.xaml"
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
|
internal System.Windows.Controls.Canvas DialCanvas;
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 26 "..\..\..\..\Controls\HeadingIndicator.xaml"
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
|
internal System.Windows.Media.RotateTransform DialRotation;
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 86 "..\..\..\..\Controls\HeadingIndicator.xaml"
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
|
internal System.Windows.Shapes.Polygon CourseArrow;
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 88 "..\..\..\..\Controls\HeadingIndicator.xaml"
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
|
internal System.Windows.Media.RotateTransform CourseRotation;
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
2025-11-14 17:11:58 +00:00
|
|
|
|
|
|
|
|
|
|
#line 96 "..\..\..\..\Controls\HeadingIndicator.xaml"
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
|
internal System.Windows.Controls.TextBlock txtHeadingDif;
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 100 "..\..\..\..\Controls\HeadingIndicator.xaml"
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
|
internal System.Windows.Controls.TextBlock txtHeadingCourse;
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 104 "..\..\..\..\Controls\HeadingIndicator.xaml"
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
|
internal System.Windows.Controls.TextBlock txtHeading;
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
2025-11-12 11:15:07 +00:00
|
|
|
|
private bool _contentLoaded;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// InitializeComponent
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.0.0")]
|
|
|
|
|
|
public void InitializeComponent() {
|
|
|
|
|
|
if (_contentLoaded) {
|
|
|
|
|
|
return;
|
|
|
|
|
|
}
|
|
|
|
|
|
_contentLoaded = true;
|
|
|
|
|
|
System.Uri resourceLocater = new System.Uri("/OperationControl;component/controls/headingindicator.xaml", System.UriKind.Relative);
|
|
|
|
|
|
|
|
|
|
|
|
#line 1 "..\..\..\..\Controls\HeadingIndicator.xaml"
|
|
|
|
|
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
|
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
|
#line hidden
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.0.0")]
|
|
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
|
|
|
|
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
|
|
|
|
|
switch (connectionId)
|
|
|
|
|
|
{
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
this.Chrome = ((System.Windows.Controls.Border)(target));
|
|
|
|
|
|
return;
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
this.DialCanvas = ((System.Windows.Controls.Canvas)(target));
|
|
|
|
|
|
return;
|
|
|
|
|
|
case 3:
|
|
|
|
|
|
this.DialRotation = ((System.Windows.Media.RotateTransform)(target));
|
|
|
|
|
|
return;
|
|
|
|
|
|
case 4:
|
|
|
|
|
|
this.CourseArrow = ((System.Windows.Shapes.Polygon)(target));
|
|
|
|
|
|
return;
|
|
|
|
|
|
case 5:
|
|
|
|
|
|
this.CourseRotation = ((System.Windows.Media.RotateTransform)(target));
|
|
|
|
|
|
return;
|
2025-11-14 17:11:58 +00:00
|
|
|
|
case 6:
|
|
|
|
|
|
this.txtHeadingDif = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
|
return;
|
|
|
|
|
|
case 7:
|
|
|
|
|
|
this.txtHeadingCourse = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
|
return;
|
|
|
|
|
|
case 8:
|
|
|
|
|
|
this.txtHeading = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
|
return;
|
2025-11-12 11:15:07 +00:00
|
|
|
|
}
|
|
|
|
|
|
this._contentLoaded = true;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|