191 lines
7.2 KiB
C#
191 lines
7.2 KiB
C#
#pragma checksum "..\..\..\JunctionBox.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A3E808ACFF4CBE42A164B4B23EB51254248C24A3"
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 此代码由工具生成。
|
|
// 运行时版本:4.0.30319.42000
|
|
//
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
// 重新生成代码,这些更改将会丢失。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using Models;
|
|
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;
|
|
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 Models {
|
|
|
|
|
|
/// <summary>
|
|
/// JunctionBox
|
|
/// </summary>
|
|
public partial class JunctionBox : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
#line 44 "..\..\..\JunctionBox.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock TextX;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 45 "..\..\..\JunctionBox.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock TextY;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 46 "..\..\..\JunctionBox.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock TextZ;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 50 "..\..\..\JunctionBox.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button Enlarge;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 59 "..\..\..\JunctionBox.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button Narrow;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 147 "..\..\..\JunctionBox.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Media.Media3D.AxisAngleRotation3D rotateX;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 152 "..\..\..\JunctionBox.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Media.Media3D.AxisAngleRotation3D rotateY;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 157 "..\..\..\JunctionBox.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Media.Media3D.AxisAngleRotation3D rotateZ;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 160 "..\..\..\JunctionBox.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Media.Media3D.ScaleTransform3D narrow_enlarge;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
private bool _contentLoaded;
|
|
|
|
/// <summary>
|
|
/// InitializeComponent
|
|
/// </summary>
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.2.0")]
|
|
public void InitializeComponent() {
|
|
if (_contentLoaded) {
|
|
return;
|
|
}
|
|
_contentLoaded = true;
|
|
System.Uri resourceLocater = new System.Uri("/Models;component/junctionbox.xaml", System.UriKind.Relative);
|
|
|
|
#line 1 "..\..\..\JunctionBox.xaml"
|
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
|
|
|
#line default
|
|
#line hidden
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.2.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.TextX = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 2:
|
|
this.TextY = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 3:
|
|
this.TextZ = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 4:
|
|
this.Enlarge = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 50 "..\..\..\JunctionBox.xaml"
|
|
this.Enlarge.Click += new System.Windows.RoutedEventHandler(this.Enlarge_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 5:
|
|
this.Narrow = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 59 "..\..\..\JunctionBox.xaml"
|
|
this.Narrow.Click += new System.Windows.RoutedEventHandler(this.Narrow_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 6:
|
|
this.rotateX = ((System.Windows.Media.Media3D.AxisAngleRotation3D)(target));
|
|
return;
|
|
case 7:
|
|
this.rotateY = ((System.Windows.Media.Media3D.AxisAngleRotation3D)(target));
|
|
return;
|
|
case 8:
|
|
this.rotateZ = ((System.Windows.Media.Media3D.AxisAngleRotation3D)(target));
|
|
return;
|
|
case 9:
|
|
this.narrow_enlarge = ((System.Windows.Media.Media3D.ScaleTransform3D)(target));
|
|
return;
|
|
}
|
|
this._contentLoaded = true;
|
|
}
|
|
}
|
|
}
|
|
|