201 lines
7.8 KiB
C#
201 lines
7.8 KiB
C#
#pragma checksum "..\..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F04B42CA40D1146EA344AEDB60ADCFC400A88DF0B94E1795A45B0787A037611F"
|
|
//------------------------------------------------------------------------------
|
|
// <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.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 cs2_chs;
|
|
|
|
|
|
namespace cs2_chs {
|
|
|
|
|
|
/// <summary>
|
|
/// MainWindow
|
|
/// </summary>
|
|
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
#line 17 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox TEXT_INPUT;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 26 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Button apply;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 32 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.ProgressBar PBS;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 41 "..\..\..\MainWindow.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBox SRC_OUTPUT;
|
|
|
|
#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("/cs2_chs;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:
|
|
|
|
#line 9 "..\..\..\MainWindow.xaml"
|
|
((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 9 "..\..\..\MainWindow.xaml"
|
|
((System.Windows.Controls.Grid)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseUp);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 9 "..\..\..\MainWindow.xaml"
|
|
((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseDown);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 9 "..\..\..\MainWindow.xaml"
|
|
((System.Windows.Controls.Grid)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Grid_Unloaded);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 2:
|
|
this.TEXT_INPUT = ((System.Windows.Controls.TextBox)(target));
|
|
|
|
#line 17 "..\..\..\MainWindow.xaml"
|
|
this.TEXT_INPUT.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.TEXT_INPUT_MouseRightButtonUp);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 17 "..\..\..\MainWindow.xaml"
|
|
this.TEXT_INPUT.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TEXT_INPUT_MouseRightButtonDown);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 3:
|
|
this.apply = ((System.Windows.Controls.Button)(target));
|
|
|
|
#line 27 "..\..\..\MainWindow.xaml"
|
|
this.apply.Click += new System.Windows.RoutedEventHandler(this.Button_Click);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 4:
|
|
this.PBS = ((System.Windows.Controls.ProgressBar)(target));
|
|
return;
|
|
case 5:
|
|
|
|
#line 33 "..\..\..\MainWindow.xaml"
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 33 "..\..\..\MainWindow.xaml"
|
|
((System.Windows.Controls.Button)(target)).MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Button_MouseRightButtonUp);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 6:
|
|
this.SRC_OUTPUT = ((System.Windows.Controls.TextBox)(target));
|
|
|
|
#line 41 "..\..\..\MainWindow.xaml"
|
|
this.SRC_OUTPUT.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.SRC_OUTPUT_MouseRightButtonUp);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 7:
|
|
|
|
#line 65 "..\..\..\MainWindow.xaml"
|
|
((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_ShowMainWindow_CanExecute);
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 66 "..\..\..\MainWindow.xaml"
|
|
((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_ShowMainWindow_Executed);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
}
|
|
this._contentLoaded = true;
|
|
}
|
|
}
|
|
}
|
|
|