#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "247CDAC146E194B3C6B377CA10BA1D1C3687E24D38688A4462E116EF93A62561"
//------------------------------------------------------------------------------
//
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
//
//------------------------------------------------------------------------------
using Annotations;
using Compdfkit_Tools.Common;
using Compdfkit_Tools.PDFControl;
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;
namespace Annotations {
///
/// MainWindow
///
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 88 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Primitives.ToggleButton ToolExpandBtn;
#line default
#line hidden
#line 126 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal Compdfkit_Tools.PDFControl.CPDFScalingControl CPDFSaclingControl;
#line default
#line hidden
#line 156 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Primitives.ToggleButton AnnotationBarBtn;
#line default
#line hidden
#line 170 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Primitives.ToggleButton ViewSettingBtn;
#line default
#line hidden
#line 212 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid BodyGrid;
#line default
#line hidden
#line 225 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Border ToolBarContainer;
#line default
#line hidden
#line 227 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal Compdfkit_Tools.PDFControl.CPDFAnnotationBarControl AnnotationBarControl;
#line default
#line hidden
#line 230 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button UndoBtn;
#line default
#line hidden
#line 232 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Shapes.Path UndoPath;
#line default
#line hidden
#line 284 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal Compdfkit_Tools.PDFControl.CPDFBOTABarControl BotaSideTool;
#line default
#line hidden
#line 286 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.GridSplitter Splitter;
#line default
#line hidden
#line 315 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Border PDFGrid;
#line default
#line hidden
#line 317 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Border PropertyContainer;
#line default
#line hidden
#line 321 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal Compdfkit_Tools.Common.PageNumberControl FloatPageTool;
#line default
#line hidden
#line 326 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Border PopupBorder;
#line default
#line hidden
#line 330 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid FileInfoUI;
#line default
#line hidden
#line 350 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal Compdfkit_Tools.PDFControl.CPDFInfoControl FileInfoControl;
#line default
#line hidden
#line 354 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal Compdfkit_Tools.Common.PasswordDialog PasswordUI;
#line default
#line hidden
private bool _contentLoaded;
///
/// InitializeComponent
///
[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("/com.compdfkit.demo.annotation;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 10 "..\..\MainWindow.xaml"
((Annotations.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Loaded);
#line default
#line hidden
return;
case 2:
#line 40 "..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenFile_Click);
#line default
#line hidden
return;
case 3:
#line 71 "..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveFileBtn_Click);
#line default
#line hidden
return;
case 4:
this.ToolExpandBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
#line 88 "..\..\MainWindow.xaml"
this.ToolExpandBtn.Click += new System.Windows.RoutedEventHandler(this.ToolExpand_Click);
#line default
#line hidden
return;
case 5:
this.CPDFSaclingControl = ((Compdfkit_Tools.PDFControl.CPDFScalingControl)(target));
return;
case 6:
#line 130 "..\..\MainWindow.xaml"
((System.Windows.Controls.ComboBox)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);
#line default
#line hidden
return;
case 7:
#line 139 "..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ExpandSearchBtn_Click);
#line default
#line hidden
return;
case 8:
this.AnnotationBarBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
#line 156 "..\..\MainWindow.xaml"
this.AnnotationBarBtn.Click += new System.Windows.RoutedEventHandler(this.AnnotationBarControl_Click);
#line default
#line hidden
return;
case 9:
this.ViewSettingBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
#line 170 "..\..\MainWindow.xaml"
this.ViewSettingBtn.Click += new System.Windows.RoutedEventHandler(this.ViewSettingBtn_Click);
#line default
#line hidden
return;
case 10:
#line 191 "..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PageInfoBtn_Click);
#line default
#line hidden
return;
case 11:
this.BodyGrid = ((System.Windows.Controls.Grid)(target));
return;
case 12:
this.ToolBarContainer = ((System.Windows.Controls.Border)(target));
return;
case 13:
this.AnnotationBarControl = ((Compdfkit_Tools.PDFControl.CPDFAnnotationBarControl)(target));
#line 227 "..\..\MainWindow.xaml"
this.AnnotationBarControl.Loaded += new System.Windows.RoutedEventHandler(this.AnnotationBarControl_Loaded);
#line default
#line hidden
#line 227 "..\..\MainWindow.xaml"
this.AnnotationBarControl.Unloaded += new System.Windows.RoutedEventHandler(this.AnnotationBarControl_Unloaded);
#line default
#line hidden
return;
case 14:
this.UndoBtn = ((System.Windows.Controls.Button)(target));
#line 230 "..\..\MainWindow.xaml"
this.UndoBtn.Click += new System.Windows.RoutedEventHandler(this.UndoButton_Click);
#line default
#line hidden
return;
case 15:
this.UndoPath = ((System.Windows.Shapes.Path)(target));
return;
case 16:
#line 256 "..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RedoButton_Click);
#line default
#line hidden
return;
case 17:
this.BotaSideTool = ((Compdfkit_Tools.PDFControl.CPDFBOTABarControl)(target));
return;
case 18:
this.Splitter = ((System.Windows.Controls.GridSplitter)(target));
return;
case 19:
this.PDFGrid = ((System.Windows.Controls.Border)(target));
return;
case 20:
this.PropertyContainer = ((System.Windows.Controls.Border)(target));
return;
case 21:
this.FloatPageTool = ((Compdfkit_Tools.Common.PageNumberControl)(target));
return;
case 22:
this.PopupBorder = ((System.Windows.Controls.Border)(target));
return;
case 23:
this.FileInfoUI = ((System.Windows.Controls.Grid)(target));
return;
case 24:
#line 341 "..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FileInfoCloseBtn_Click);
#line default
#line hidden
return;
case 25:
this.FileInfoControl = ((Compdfkit_Tools.PDFControl.CPDFInfoControl)(target));
return;
case 26:
this.PasswordUI = ((Compdfkit_Tools.Common.PasswordDialog)(target));
return;
}
this._contentLoaded = true;
}
}
}