MainWindow.g.i.cs 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  1. #pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "FCD38ABD303CA50BA507C80E94D65EEDA41DF98F50FE9B7125A1028E913E7A38"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // 此代码由工具生成。
  5. // 运行时版本:4.0.30319.42000
  6. //
  7. // 对此文件的更改可能会导致不正确的行为,并且如果
  8. // 重新生成代码,这些更改将会丢失。
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using System;
  12. using System.Diagnostics;
  13. using System.Windows;
  14. using System.Windows.Automation;
  15. using System.Windows.Controls;
  16. using System.Windows.Controls.Primitives;
  17. using System.Windows.Data;
  18. using System.Windows.Documents;
  19. using System.Windows.Ink;
  20. using System.Windows.Input;
  21. using System.Windows.Markup;
  22. using System.Windows.Media;
  23. using System.Windows.Media.Animation;
  24. using System.Windows.Media.Effects;
  25. using System.Windows.Media.Imaging;
  26. using System.Windows.Media.Media3D;
  27. using System.Windows.Media.TextFormatting;
  28. using System.Windows.Navigation;
  29. using System.Windows.Shapes;
  30. using System.Windows.Shell;
  31. using compdfkit_tools.PDFControl;
  32. using viewer_ctrl_demo;
  33. namespace viewer_ctrl_demo {
  34. /// <summary>
  35. /// MainWindow
  36. /// </summary>
  37. public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
  38. #line 116 "..\..\MainWindow.xaml"
  39. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  40. internal System.Windows.Controls.ComboBox ZoomComboBox;
  41. #line default
  42. #line hidden
  43. #line 119 "..\..\MainWindow.xaml"
  44. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  45. internal System.Windows.Controls.TextBox ZoomTextBox;
  46. #line default
  47. #line hidden
  48. #line 216 "..\..\MainWindow.xaml"
  49. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  50. internal System.Windows.Controls.Grid BodyGrid;
  51. #line default
  52. #line hidden
  53. #line 229 "..\..\MainWindow.xaml"
  54. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  55. internal System.Windows.Controls.Grid ExpandToolContainer;
  56. #line default
  57. #line hidden
  58. #line 235 "..\..\MainWindow.xaml"
  59. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  60. internal System.Windows.Controls.StackPanel BotaSideTool;
  61. #line default
  62. #line hidden
  63. #line 238 "..\..\MainWindow.xaml"
  64. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  65. internal System.Windows.Controls.Primitives.ToggleButton ThumbToolButton;
  66. #line default
  67. #line hidden
  68. #line 250 "..\..\MainWindow.xaml"
  69. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  70. internal System.Windows.Controls.Primitives.ToggleButton OutlineToolButton;
  71. #line default
  72. #line hidden
  73. #line 261 "..\..\MainWindow.xaml"
  74. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  75. internal System.Windows.Controls.Primitives.ToggleButton BookmarkToolButton;
  76. #line default
  77. #line hidden
  78. #line 272 "..\..\MainWindow.xaml"
  79. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  80. internal System.Windows.Controls.Primitives.ToggleButton SearchToolButton;
  81. #line default
  82. #line hidden
  83. #line 287 "..\..\MainWindow.xaml"
  84. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  85. internal System.Windows.Controls.Border BotaToolContainer;
  86. #line default
  87. #line hidden
  88. #line 293 "..\..\MainWindow.xaml"
  89. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  90. internal System.Windows.Controls.GridSplitter Splitter;
  91. #line default
  92. #line hidden
  93. #line 318 "..\..\MainWindow.xaml"
  94. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  95. internal compdfkit_tools.PDFControl.CPDFAnnotationBarControl AnnotationBarControl;
  96. #line default
  97. #line hidden
  98. #line 320 "..\..\MainWindow.xaml"
  99. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  100. internal System.Windows.Controls.Border PDFGrid;
  101. #line default
  102. #line hidden
  103. #line 325 "..\..\MainWindow.xaml"
  104. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  105. internal System.Windows.Controls.Border FloatPageTool;
  106. #line default
  107. #line hidden
  108. #line 347 "..\..\MainWindow.xaml"
  109. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  110. internal System.Windows.Controls.TextBlock PageRangeText;
  111. #line default
  112. #line hidden
  113. #line 366 "..\..\MainWindow.xaml"
  114. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  115. internal System.Windows.Controls.Border PropertyContainer;
  116. #line default
  117. #line hidden
  118. #line 370 "..\..\MainWindow.xaml"
  119. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  120. internal System.Windows.Controls.Border PopupBorder;
  121. #line default
  122. #line hidden
  123. #line 374 "..\..\MainWindow.xaml"
  124. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  125. internal System.Windows.Controls.Grid FileInfoUI;
  126. #line default
  127. #line hidden
  128. #line 394 "..\..\MainWindow.xaml"
  129. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  130. internal compdfkit_tools.PDFControl.CPDFInfoControl FileInfoControl;
  131. #line default
  132. #line hidden
  133. #line 398 "..\..\MainWindow.xaml"
  134. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  135. internal viewer_ctrl_demo.PasswordDialog PasswordUI;
  136. #line default
  137. #line hidden
  138. private bool _contentLoaded;
  139. /// <summary>
  140. /// InitializeComponent
  141. /// </summary>
  142. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  143. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  144. public void InitializeComponent() {
  145. if (_contentLoaded) {
  146. return;
  147. }
  148. _contentLoaded = true;
  149. System.Uri resourceLocater = new System.Uri("/com.compdfkit.demo.annotation;component/mainwindow.xaml", System.UriKind.Relative);
  150. #line 1 "..\..\MainWindow.xaml"
  151. System.Windows.Application.LoadComponent(this, resourceLocater);
  152. #line default
  153. #line hidden
  154. }
  155. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  156. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  157. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
  158. internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
  159. return System.Delegate.CreateDelegate(delegateType, this, handler);
  160. }
  161. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  162. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  163. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  164. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  165. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  166. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  167. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  168. switch (connectionId)
  169. {
  170. case 1:
  171. #line 9 "..\..\MainWindow.xaml"
  172. ((viewer_ctrl_demo.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Loaded);
  173. #line default
  174. #line hidden
  175. return;
  176. case 2:
  177. #line 38 "..\..\MainWindow.xaml"
  178. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenFile_Click);
  179. #line default
  180. #line hidden
  181. return;
  182. case 3:
  183. #line 66 "..\..\MainWindow.xaml"
  184. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveFileBtn_Click);
  185. #line default
  186. #line hidden
  187. return;
  188. case 4:
  189. #line 80 "..\..\MainWindow.xaml"
  190. ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ToolExpand_Click);
  191. #line default
  192. #line hidden
  193. return;
  194. case 5:
  195. this.ZoomComboBox = ((System.Windows.Controls.ComboBox)(target));
  196. #line 117 "..\..\MainWindow.xaml"
  197. this.ZoomComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ZoomComboBox_SelectionChanged);
  198. #line default
  199. #line hidden
  200. return;
  201. case 6:
  202. this.ZoomTextBox = ((System.Windows.Controls.TextBox)(target));
  203. return;
  204. case 7:
  205. #line 128 "..\..\MainWindow.xaml"
  206. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ZoomOutBtn_Click);
  207. #line default
  208. #line hidden
  209. return;
  210. case 8:
  211. #line 134 "..\..\MainWindow.xaml"
  212. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ZoomInBtn_Click);
  213. #line default
  214. #line hidden
  215. return;
  216. case 9:
  217. #line 155 "..\..\MainWindow.xaml"
  218. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ExpandSearchBtn_Click);
  219. #line default
  220. #line hidden
  221. return;
  222. case 10:
  223. #line 169 "..\..\MainWindow.xaml"
  224. ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.AnnotationBarControl_Click);
  225. #line default
  226. #line hidden
  227. return;
  228. case 11:
  229. #line 180 "..\..\MainWindow.xaml"
  230. ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ViewSettingBtn_Click);
  231. #line default
  232. #line hidden
  233. return;
  234. case 12:
  235. #line 198 "..\..\MainWindow.xaml"
  236. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PageInfoBtn_Click);
  237. #line default
  238. #line hidden
  239. return;
  240. case 13:
  241. this.BodyGrid = ((System.Windows.Controls.Grid)(target));
  242. return;
  243. case 14:
  244. this.ExpandToolContainer = ((System.Windows.Controls.Grid)(target));
  245. return;
  246. case 15:
  247. this.BotaSideTool = ((System.Windows.Controls.StackPanel)(target));
  248. return;
  249. case 16:
  250. this.ThumbToolButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
  251. #line 238 "..\..\MainWindow.xaml"
  252. this.ThumbToolButton.Click += new System.Windows.RoutedEventHandler(this.ThumbToolButton_Click);
  253. #line default
  254. #line hidden
  255. return;
  256. case 17:
  257. this.OutlineToolButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
  258. #line 250 "..\..\MainWindow.xaml"
  259. this.OutlineToolButton.Click += new System.Windows.RoutedEventHandler(this.OutlineToolButton_Click);
  260. #line default
  261. #line hidden
  262. return;
  263. case 18:
  264. this.BookmarkToolButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
  265. #line 261 "..\..\MainWindow.xaml"
  266. this.BookmarkToolButton.Click += new System.Windows.RoutedEventHandler(this.BookmarkToolButtonn_Click);
  267. #line default
  268. #line hidden
  269. return;
  270. case 19:
  271. this.SearchToolButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
  272. #line 272 "..\..\MainWindow.xaml"
  273. this.SearchToolButton.Click += new System.Windows.RoutedEventHandler(this.SearchToolButton_Click);
  274. #line default
  275. #line hidden
  276. return;
  277. case 20:
  278. this.BotaToolContainer = ((System.Windows.Controls.Border)(target));
  279. return;
  280. case 21:
  281. this.Splitter = ((System.Windows.Controls.GridSplitter)(target));
  282. return;
  283. case 22:
  284. this.AnnotationBarControl = ((compdfkit_tools.PDFControl.CPDFAnnotationBarControl)(target));
  285. #line 318 "..\..\MainWindow.xaml"
  286. this.AnnotationBarControl.Loaded += new System.Windows.RoutedEventHandler(this.AnnotationBarControl_Loaded);
  287. #line default
  288. #line hidden
  289. #line 318 "..\..\MainWindow.xaml"
  290. this.AnnotationBarControl.Unloaded += new System.Windows.RoutedEventHandler(this.AnnotationBarControl_Unloaded);
  291. #line default
  292. #line hidden
  293. return;
  294. case 23:
  295. this.PDFGrid = ((System.Windows.Controls.Border)(target));
  296. #line 320 "..\..\MainWindow.xaml"
  297. this.PDFGrid.MouseMove += new System.Windows.Input.MouseEventHandler(this.PDFGrid_MouseMove);
  298. #line default
  299. #line hidden
  300. return;
  301. case 24:
  302. #line 323 "..\..\MainWindow.xaml"
  303. ((System.Windows.Controls.Border)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Border_MouseEnter);
  304. #line default
  305. #line hidden
  306. return;
  307. case 25:
  308. this.FloatPageTool = ((System.Windows.Controls.Border)(target));
  309. return;
  310. case 26:
  311. #line 335 "..\..\MainWindow.xaml"
  312. ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.PrevPageBorder_MouseLeftButtonDown);
  313. #line default
  314. #line hidden
  315. return;
  316. case 27:
  317. this.PageRangeText = ((System.Windows.Controls.TextBlock)(target));
  318. return;
  319. case 28:
  320. #line 350 "..\..\MainWindow.xaml"
  321. ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.NextPageBorder_MouseLeftButtonDown);
  322. #line default
  323. #line hidden
  324. return;
  325. case 29:
  326. this.PropertyContainer = ((System.Windows.Controls.Border)(target));
  327. return;
  328. case 30:
  329. this.PopupBorder = ((System.Windows.Controls.Border)(target));
  330. return;
  331. case 31:
  332. this.FileInfoUI = ((System.Windows.Controls.Grid)(target));
  333. return;
  334. case 32:
  335. #line 385 "..\..\MainWindow.xaml"
  336. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FileInfoCloseBtn_Click);
  337. #line default
  338. #line hidden
  339. return;
  340. case 33:
  341. this.FileInfoControl = ((compdfkit_tools.PDFControl.CPDFInfoControl)(target));
  342. return;
  343. case 34:
  344. this.PasswordUI = ((viewer_ctrl_demo.PasswordDialog)(target));
  345. return;
  346. }
  347. this._contentLoaded = true;
  348. }
  349. }
  350. }