MainWindow.g.cs 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. #pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "247CDAC146E194B3C6B377CA10BA1D1C3687E24D38688A4462E116EF93A62561"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // 此代码由工具生成。
  5. // 运行时版本:4.0.30319.42000
  6. //
  7. // 对此文件的更改可能会导致不正确的行为,并且如果
  8. // 重新生成代码,这些更改将会丢失。
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using Annotations;
  12. using Compdfkit_Tools.Common;
  13. using Compdfkit_Tools.PDFControl;
  14. using System;
  15. using System.Diagnostics;
  16. using System.Windows;
  17. using System.Windows.Automation;
  18. using System.Windows.Controls;
  19. using System.Windows.Controls.Primitives;
  20. using System.Windows.Data;
  21. using System.Windows.Documents;
  22. using System.Windows.Ink;
  23. using System.Windows.Input;
  24. using System.Windows.Markup;
  25. using System.Windows.Media;
  26. using System.Windows.Media.Animation;
  27. using System.Windows.Media.Effects;
  28. using System.Windows.Media.Imaging;
  29. using System.Windows.Media.Media3D;
  30. using System.Windows.Media.TextFormatting;
  31. using System.Windows.Navigation;
  32. using System.Windows.Shapes;
  33. using System.Windows.Shell;
  34. namespace Annotations {
  35. /// <summary>
  36. /// MainWindow
  37. /// </summary>
  38. public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
  39. #line 88 "..\..\MainWindow.xaml"
  40. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  41. internal System.Windows.Controls.Primitives.ToggleButton ToolExpandBtn;
  42. #line default
  43. #line hidden
  44. #line 126 "..\..\MainWindow.xaml"
  45. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  46. internal Compdfkit_Tools.PDFControl.CPDFScalingControl CPDFSaclingControl;
  47. #line default
  48. #line hidden
  49. #line 156 "..\..\MainWindow.xaml"
  50. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  51. internal System.Windows.Controls.Primitives.ToggleButton AnnotationBarBtn;
  52. #line default
  53. #line hidden
  54. #line 170 "..\..\MainWindow.xaml"
  55. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  56. internal System.Windows.Controls.Primitives.ToggleButton ViewSettingBtn;
  57. #line default
  58. #line hidden
  59. #line 212 "..\..\MainWindow.xaml"
  60. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  61. internal System.Windows.Controls.Grid BodyGrid;
  62. #line default
  63. #line hidden
  64. #line 225 "..\..\MainWindow.xaml"
  65. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  66. internal System.Windows.Controls.Border ToolBarContainer;
  67. #line default
  68. #line hidden
  69. #line 227 "..\..\MainWindow.xaml"
  70. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  71. internal Compdfkit_Tools.PDFControl.CPDFAnnotationBarControl AnnotationBarControl;
  72. #line default
  73. #line hidden
  74. #line 230 "..\..\MainWindow.xaml"
  75. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  76. internal System.Windows.Controls.Button UndoBtn;
  77. #line default
  78. #line hidden
  79. #line 232 "..\..\MainWindow.xaml"
  80. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  81. internal System.Windows.Shapes.Path UndoPath;
  82. #line default
  83. #line hidden
  84. #line 284 "..\..\MainWindow.xaml"
  85. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  86. internal Compdfkit_Tools.PDFControl.CPDFBOTABarControl BotaSideTool;
  87. #line default
  88. #line hidden
  89. #line 286 "..\..\MainWindow.xaml"
  90. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  91. internal System.Windows.Controls.GridSplitter Splitter;
  92. #line default
  93. #line hidden
  94. #line 315 "..\..\MainWindow.xaml"
  95. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  96. internal System.Windows.Controls.Border PDFGrid;
  97. #line default
  98. #line hidden
  99. #line 317 "..\..\MainWindow.xaml"
  100. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  101. internal System.Windows.Controls.Border PropertyContainer;
  102. #line default
  103. #line hidden
  104. #line 321 "..\..\MainWindow.xaml"
  105. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  106. internal Compdfkit_Tools.Common.PageNumberControl FloatPageTool;
  107. #line default
  108. #line hidden
  109. #line 326 "..\..\MainWindow.xaml"
  110. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  111. internal System.Windows.Controls.Border PopupBorder;
  112. #line default
  113. #line hidden
  114. #line 330 "..\..\MainWindow.xaml"
  115. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  116. internal System.Windows.Controls.Grid FileInfoUI;
  117. #line default
  118. #line hidden
  119. #line 350 "..\..\MainWindow.xaml"
  120. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  121. internal Compdfkit_Tools.PDFControl.CPDFInfoControl FileInfoControl;
  122. #line default
  123. #line hidden
  124. #line 354 "..\..\MainWindow.xaml"
  125. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  126. internal Compdfkit_Tools.Common.PasswordDialog PasswordUI;
  127. #line default
  128. #line hidden
  129. private bool _contentLoaded;
  130. /// <summary>
  131. /// InitializeComponent
  132. /// </summary>
  133. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  134. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  135. public void InitializeComponent() {
  136. if (_contentLoaded) {
  137. return;
  138. }
  139. _contentLoaded = true;
  140. System.Uri resourceLocater = new System.Uri("/com.compdfkit.demo.annotation;component/mainwindow.xaml", System.UriKind.Relative);
  141. #line 1 "..\..\MainWindow.xaml"
  142. System.Windows.Application.LoadComponent(this, resourceLocater);
  143. #line default
  144. #line hidden
  145. }
  146. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  147. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  148. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  149. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  150. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  151. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  152. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  153. switch (connectionId)
  154. {
  155. case 1:
  156. #line 10 "..\..\MainWindow.xaml"
  157. ((Annotations.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Loaded);
  158. #line default
  159. #line hidden
  160. return;
  161. case 2:
  162. #line 40 "..\..\MainWindow.xaml"
  163. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenFile_Click);
  164. #line default
  165. #line hidden
  166. return;
  167. case 3:
  168. #line 71 "..\..\MainWindow.xaml"
  169. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveFileBtn_Click);
  170. #line default
  171. #line hidden
  172. return;
  173. case 4:
  174. this.ToolExpandBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
  175. #line 88 "..\..\MainWindow.xaml"
  176. this.ToolExpandBtn.Click += new System.Windows.RoutedEventHandler(this.ToolExpand_Click);
  177. #line default
  178. #line hidden
  179. return;
  180. case 5:
  181. this.CPDFSaclingControl = ((Compdfkit_Tools.PDFControl.CPDFScalingControl)(target));
  182. return;
  183. case 6:
  184. #line 130 "..\..\MainWindow.xaml"
  185. ((System.Windows.Controls.ComboBox)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);
  186. #line default
  187. #line hidden
  188. return;
  189. case 7:
  190. #line 139 "..\..\MainWindow.xaml"
  191. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ExpandSearchBtn_Click);
  192. #line default
  193. #line hidden
  194. return;
  195. case 8:
  196. this.AnnotationBarBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
  197. #line 156 "..\..\MainWindow.xaml"
  198. this.AnnotationBarBtn.Click += new System.Windows.RoutedEventHandler(this.AnnotationBarControl_Click);
  199. #line default
  200. #line hidden
  201. return;
  202. case 9:
  203. this.ViewSettingBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
  204. #line 170 "..\..\MainWindow.xaml"
  205. this.ViewSettingBtn.Click += new System.Windows.RoutedEventHandler(this.ViewSettingBtn_Click);
  206. #line default
  207. #line hidden
  208. return;
  209. case 10:
  210. #line 191 "..\..\MainWindow.xaml"
  211. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PageInfoBtn_Click);
  212. #line default
  213. #line hidden
  214. return;
  215. case 11:
  216. this.BodyGrid = ((System.Windows.Controls.Grid)(target));
  217. return;
  218. case 12:
  219. this.ToolBarContainer = ((System.Windows.Controls.Border)(target));
  220. return;
  221. case 13:
  222. this.AnnotationBarControl = ((Compdfkit_Tools.PDFControl.CPDFAnnotationBarControl)(target));
  223. #line 227 "..\..\MainWindow.xaml"
  224. this.AnnotationBarControl.Loaded += new System.Windows.RoutedEventHandler(this.AnnotationBarControl_Loaded);
  225. #line default
  226. #line hidden
  227. #line 227 "..\..\MainWindow.xaml"
  228. this.AnnotationBarControl.Unloaded += new System.Windows.RoutedEventHandler(this.AnnotationBarControl_Unloaded);
  229. #line default
  230. #line hidden
  231. return;
  232. case 14:
  233. this.UndoBtn = ((System.Windows.Controls.Button)(target));
  234. #line 230 "..\..\MainWindow.xaml"
  235. this.UndoBtn.Click += new System.Windows.RoutedEventHandler(this.UndoButton_Click);
  236. #line default
  237. #line hidden
  238. return;
  239. case 15:
  240. this.UndoPath = ((System.Windows.Shapes.Path)(target));
  241. return;
  242. case 16:
  243. #line 256 "..\..\MainWindow.xaml"
  244. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RedoButton_Click);
  245. #line default
  246. #line hidden
  247. return;
  248. case 17:
  249. this.BotaSideTool = ((Compdfkit_Tools.PDFControl.CPDFBOTABarControl)(target));
  250. return;
  251. case 18:
  252. this.Splitter = ((System.Windows.Controls.GridSplitter)(target));
  253. return;
  254. case 19:
  255. this.PDFGrid = ((System.Windows.Controls.Border)(target));
  256. return;
  257. case 20:
  258. this.PropertyContainer = ((System.Windows.Controls.Border)(target));
  259. return;
  260. case 21:
  261. this.FloatPageTool = ((Compdfkit_Tools.Common.PageNumberControl)(target));
  262. return;
  263. case 22:
  264. this.PopupBorder = ((System.Windows.Controls.Border)(target));
  265. return;
  266. case 23:
  267. this.FileInfoUI = ((System.Windows.Controls.Grid)(target));
  268. return;
  269. case 24:
  270. #line 341 "..\..\MainWindow.xaml"
  271. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FileInfoCloseBtn_Click);
  272. #line default
  273. #line hidden
  274. return;
  275. case 25:
  276. this.FileInfoControl = ((Compdfkit_Tools.PDFControl.CPDFInfoControl)(target));
  277. return;
  278. case 26:
  279. this.PasswordUI = ((Compdfkit_Tools.Common.PasswordDialog)(target));
  280. return;
  281. }
  282. this._contentLoaded = true;
  283. }
  284. }
  285. }