You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
210 lines
7.8 KiB
210 lines
7.8 KiB
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "B741678C049C3F01628B56EDA165ED07B5D2BCD108C090B34C9B260A66A27E21"
|
|
//------------------------------------------------------------------------------
|
|
// <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 Upgrade;
|
|
|
|
|
|
namespace Upgrade {
|
|
|
|
|
|
/// <summary>
|
|
/// MainWindow
|
|
/// </summary>
|
|
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
#line 21 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.ListBox txtMessage;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 33 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button btnImport;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 34 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button btnUpgrade;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 35 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button btnClose;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 49 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Border TopLogo;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 78 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button btnWinClose;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 79 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button btWindowMax;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 80 "..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button btWindowMin;
|
|
|
|
#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("/Upgrade;component/mainwindow.xaml", System.UriKind.Relative);
|
|
|
|
#line 1 "..\..\MainWindow.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:
|
|
this.txtMessage = ((System.Windows.Controls.ListBox)(target));
|
|
return;
|
|
case 2:
|
|
this.btnImport = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 33 "..\..\MainWindow.xaml"
|
|
this.btnImport.Click += new System.Windows.RoutedEventHandler(this.BtnImport_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 3:
|
|
this.btnUpgrade = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 34 "..\..\MainWindow.xaml"
|
|
this.btnUpgrade.Click += new System.Windows.RoutedEventHandler(this.btnUpgrade_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 4:
|
|
this.btnClose = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 35 "..\..\MainWindow.xaml"
|
|
this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 5:
|
|
this.TopLogo = ((System.Windows.Controls.Border)(target));
|
|
|
|
#line 49 "..\..\MainWindow.xaml"
|
|
this.TopLogo.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Headerborder_MouseLeftButtonDown);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 6:
|
|
this.btnWinClose = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 78 "..\..\MainWindow.xaml"
|
|
this.btnWinClose.Click += new System.Windows.RoutedEventHandler(this.btWindowClose_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 7:
|
|
this.btWindowMax = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 79 "..\..\MainWindow.xaml"
|
|
this.btWindowMax.Click += new System.Windows.RoutedEventHandler(this.btWindowMax_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 8:
|
|
this.btWindowMin = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 80 "..\..\MainWindow.xaml"
|
|
this.btWindowMin.Click += new System.Windows.RoutedEventHandler(this.btWindowMin_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
}
|
|
this._contentLoaded = true;
|
|
}
|
|
}
|
|
}
|
|
|