You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
311 lines
12 KiB
C#
311 lines
12 KiB
C#
#pragma checksum "..\..\..\..\FormItem\Main.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E38DC8F69DCC9829AAB04D5A881B058BA816B655E361D925290D51D85F8B778A"
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 此代码由工具生成。
|
|
// 运行时版本:4.0.30319.42000
|
|
//
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
// 重新生成代码,这些更改将会丢失。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using System;
|
|
using System.Diagnostics;
|
|
using System.Windows;
|
|
using System.Windows.Automation;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Controls.Primitives;
|
|
using System.Windows.Data;
|
|
using System.Windows.Documents;
|
|
using System.Windows.Forms.Integration;
|
|
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;
|
|
using XGL.FormItem;
|
|
using XGL.Tools;
|
|
|
|
|
|
namespace XGL.FormItem {
|
|
|
|
|
|
/// <summary>
|
|
/// Main
|
|
/// </summary>
|
|
public partial class Main : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
#line 238 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.StackPanel UpperStart1;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 272 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock tbFactory;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 293 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock tbLineCode;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 352 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock shebei;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 359 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock tbDevice;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 383 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Label LbDeviceState;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 413 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock tbOperator;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 424 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Grid UpperStart2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 431 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.ContentControl Index;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 460 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Label LabDate;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 471 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Label LabTime;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 521 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.StackPanel DownStart;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 543 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock myTb;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 546 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Documents.Run btnText;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 558 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Label lbVersion;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 567 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button notsos;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 570 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button btnZXH;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 574 "..\..\..\..\FormItem\Main.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button btnFault;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
private bool _contentLoaded;
|
|
|
|
/// <summary>
|
|
/// InitializeComponent
|
|
/// </summary>
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|
public void InitializeComponent() {
|
|
if (_contentLoaded) {
|
|
return;
|
|
}
|
|
_contentLoaded = true;
|
|
System.Uri resourceLocater = new System.Uri("/XGL;component/formitem/main.xaml", System.UriKind.Relative);
|
|
|
|
#line 1 "..\..\..\..\FormItem\Main.xaml"
|
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
|
|
|
#line default
|
|
#line hidden
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.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:
|
|
|
|
#line 12 "..\..\..\..\FormItem\Main.xaml"
|
|
((XGL.FormItem.Main)(target)).Closed += new System.EventHandler(this.Close);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 16 "..\..\..\..\FormItem\Main.xaml"
|
|
((XGL.FormItem.Main)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 2:
|
|
this.UpperStart1 = ((System.Windows.Controls.StackPanel)(target));
|
|
return;
|
|
case 3:
|
|
this.tbFactory = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 4:
|
|
this.tbLineCode = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 5:
|
|
this.shebei = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 6:
|
|
this.tbDevice = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 7:
|
|
this.LbDeviceState = ((System.Windows.Controls.Label)(target));
|
|
return;
|
|
case 8:
|
|
this.tbOperator = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 9:
|
|
this.UpperStart2 = ((System.Windows.Controls.Grid)(target));
|
|
return;
|
|
case 10:
|
|
this.Index = ((System.Windows.Controls.ContentControl)(target));
|
|
return;
|
|
case 11:
|
|
this.LabDate = ((System.Windows.Controls.Label)(target));
|
|
return;
|
|
case 12:
|
|
this.LabTime = ((System.Windows.Controls.Label)(target));
|
|
return;
|
|
case 13:
|
|
this.DownStart = ((System.Windows.Controls.StackPanel)(target));
|
|
return;
|
|
case 14:
|
|
this.myTb = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 15:
|
|
this.btnText = ((System.Windows.Documents.Run)(target));
|
|
return;
|
|
case 16:
|
|
this.lbVersion = ((System.Windows.Controls.Label)(target));
|
|
return;
|
|
case 17:
|
|
this.notsos = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 567 "..\..\..\..\FormItem\Main.xaml"
|
|
this.notsos.Click += new System.Windows.RoutedEventHandler(this.notsos_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 18:
|
|
this.btnZXH = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 570 "..\..\..\..\FormItem\Main.xaml"
|
|
this.btnZXH.Click += new System.Windows.RoutedEventHandler(this.btnZXH_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 19:
|
|
this.btnFault = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 579 "..\..\..\..\FormItem\Main.xaml"
|
|
this.btnFault.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
}
|
|
this._contentLoaded = true;
|
|
}
|
|
}
|
|
}
|
|
|