123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466 |
- #pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "FCD38ABD303CA50BA507C80E94D65EEDA41DF98F50FE9B7125A1028E913E7A38"
- //------------------------------------------------------------------------------
- // <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 compdfkit_tools.PDFControl;
- using viewer_ctrl_demo;
- namespace viewer_ctrl_demo {
-
-
- /// <summary>
- /// MainWindow
- /// </summary>
- public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
-
-
- #line 116 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox ZoomComboBox;
-
- #line default
- #line hidden
-
-
- #line 119 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox ZoomTextBox;
-
- #line default
- #line hidden
-
-
- #line 216 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Grid BodyGrid;
-
- #line default
- #line hidden
-
-
- #line 229 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Grid ExpandToolContainer;
-
- #line default
- #line hidden
-
-
- #line 235 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.StackPanel BotaSideTool;
-
- #line default
- #line hidden
-
-
- #line 238 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Primitives.ToggleButton ThumbToolButton;
-
- #line default
- #line hidden
-
-
- #line 250 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Primitives.ToggleButton OutlineToolButton;
-
- #line default
- #line hidden
-
-
- #line 261 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Primitives.ToggleButton BookmarkToolButton;
-
- #line default
- #line hidden
-
-
- #line 272 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Primitives.ToggleButton SearchToolButton;
-
- #line default
- #line hidden
-
-
- #line 287 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Border BotaToolContainer;
-
- #line default
- #line hidden
-
-
- #line 293 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.GridSplitter Splitter;
-
- #line default
- #line hidden
-
-
- #line 318 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal compdfkit_tools.PDFControl.CPDFAnnotationBarControl AnnotationBarControl;
-
- #line default
- #line hidden
-
-
- #line 320 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Border PDFGrid;
-
- #line default
- #line hidden
-
-
- #line 325 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Border FloatPageTool;
-
- #line default
- #line hidden
-
-
- #line 347 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBlock PageRangeText;
-
- #line default
- #line hidden
-
-
- #line 366 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Border PropertyContainer;
-
- #line default
- #line hidden
-
-
- #line 370 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Border PopupBorder;
-
- #line default
- #line hidden
-
-
- #line 374 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Grid FileInfoUI;
-
- #line default
- #line hidden
-
-
- #line 394 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal compdfkit_tools.PDFControl.CPDFInfoControl FileInfoControl;
-
- #line default
- #line hidden
-
-
- #line 398 "..\..\MainWindow.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal viewer_ctrl_demo.PasswordDialog PasswordUI;
-
- #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("/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.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
- return System.Delegate.CreateDelegate(delegateType, this, handler);
- }
-
- [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"
- ((viewer_ctrl_demo.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Loaded);
-
- #line default
- #line hidden
- return;
- case 2:
-
- #line 38 "..\..\MainWindow.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenFile_Click);
-
- #line default
- #line hidden
- return;
- case 3:
-
- #line 66 "..\..\MainWindow.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveFileBtn_Click);
-
- #line default
- #line hidden
- return;
- case 4:
-
- #line 80 "..\..\MainWindow.xaml"
- ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ToolExpand_Click);
-
- #line default
- #line hidden
- return;
- case 5:
- this.ZoomComboBox = ((System.Windows.Controls.ComboBox)(target));
-
- #line 117 "..\..\MainWindow.xaml"
- this.ZoomComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ZoomComboBox_SelectionChanged);
-
- #line default
- #line hidden
- return;
- case 6:
- this.ZoomTextBox = ((System.Windows.Controls.TextBox)(target));
- return;
- case 7:
-
- #line 128 "..\..\MainWindow.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ZoomOutBtn_Click);
-
- #line default
- #line hidden
- return;
- case 8:
-
- #line 134 "..\..\MainWindow.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ZoomInBtn_Click);
-
- #line default
- #line hidden
- return;
- case 9:
-
- #line 155 "..\..\MainWindow.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ExpandSearchBtn_Click);
-
- #line default
- #line hidden
- return;
- case 10:
-
- #line 169 "..\..\MainWindow.xaml"
- ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.AnnotationBarControl_Click);
-
- #line default
- #line hidden
- return;
- case 11:
-
- #line 180 "..\..\MainWindow.xaml"
- ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ViewSettingBtn_Click);
-
- #line default
- #line hidden
- return;
- case 12:
-
- #line 198 "..\..\MainWindow.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PageInfoBtn_Click);
-
- #line default
- #line hidden
- return;
- case 13:
- this.BodyGrid = ((System.Windows.Controls.Grid)(target));
- return;
- case 14:
- this.ExpandToolContainer = ((System.Windows.Controls.Grid)(target));
- return;
- case 15:
- this.BotaSideTool = ((System.Windows.Controls.StackPanel)(target));
- return;
- case 16:
- this.ThumbToolButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
-
- #line 238 "..\..\MainWindow.xaml"
- this.ThumbToolButton.Click += new System.Windows.RoutedEventHandler(this.ThumbToolButton_Click);
-
- #line default
- #line hidden
- return;
- case 17:
- this.OutlineToolButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
-
- #line 250 "..\..\MainWindow.xaml"
- this.OutlineToolButton.Click += new System.Windows.RoutedEventHandler(this.OutlineToolButton_Click);
-
- #line default
- #line hidden
- return;
- case 18:
- this.BookmarkToolButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
-
- #line 261 "..\..\MainWindow.xaml"
- this.BookmarkToolButton.Click += new System.Windows.RoutedEventHandler(this.BookmarkToolButtonn_Click);
-
- #line default
- #line hidden
- return;
- case 19:
- this.SearchToolButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
-
- #line 272 "..\..\MainWindow.xaml"
- this.SearchToolButton.Click += new System.Windows.RoutedEventHandler(this.SearchToolButton_Click);
-
- #line default
- #line hidden
- return;
- case 20:
- this.BotaToolContainer = ((System.Windows.Controls.Border)(target));
- return;
- case 21:
- this.Splitter = ((System.Windows.Controls.GridSplitter)(target));
- return;
- case 22:
- this.AnnotationBarControl = ((compdfkit_tools.PDFControl.CPDFAnnotationBarControl)(target));
-
- #line 318 "..\..\MainWindow.xaml"
- this.AnnotationBarControl.Loaded += new System.Windows.RoutedEventHandler(this.AnnotationBarControl_Loaded);
-
- #line default
- #line hidden
-
- #line 318 "..\..\MainWindow.xaml"
- this.AnnotationBarControl.Unloaded += new System.Windows.RoutedEventHandler(this.AnnotationBarControl_Unloaded);
-
- #line default
- #line hidden
- return;
- case 23:
- this.PDFGrid = ((System.Windows.Controls.Border)(target));
-
- #line 320 "..\..\MainWindow.xaml"
- this.PDFGrid.MouseMove += new System.Windows.Input.MouseEventHandler(this.PDFGrid_MouseMove);
-
- #line default
- #line hidden
- return;
- case 24:
-
- #line 323 "..\..\MainWindow.xaml"
- ((System.Windows.Controls.Border)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Border_MouseEnter);
-
- #line default
- #line hidden
- return;
- case 25:
- this.FloatPageTool = ((System.Windows.Controls.Border)(target));
- return;
- case 26:
-
- #line 335 "..\..\MainWindow.xaml"
- ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.PrevPageBorder_MouseLeftButtonDown);
-
- #line default
- #line hidden
- return;
- case 27:
- this.PageRangeText = ((System.Windows.Controls.TextBlock)(target));
- return;
- case 28:
-
- #line 350 "..\..\MainWindow.xaml"
- ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.NextPageBorder_MouseLeftButtonDown);
-
- #line default
- #line hidden
- return;
- case 29:
- this.PropertyContainer = ((System.Windows.Controls.Border)(target));
- return;
- case 30:
- this.PopupBorder = ((System.Windows.Controls.Border)(target));
- return;
- case 31:
- this.FileInfoUI = ((System.Windows.Controls.Grid)(target));
- return;
- case 32:
-
- #line 385 "..\..\MainWindow.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FileInfoCloseBtn_Click);
-
- #line default
- #line hidden
- return;
- case 33:
- this.FileInfoControl = ((compdfkit_tools.PDFControl.CPDFInfoControl)(target));
- return;
- case 34:
- this.PasswordUI = ((viewer_ctrl_demo.PasswordDialog)(target));
- return;
- }
- this._contentLoaded = true;
- }
- }
- }
|