LayoutBox.designer.cs 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  1. namespace Dongke.WinForm.Controls.InvoiceLayout
  2. {
  3. partial class LayoutBox
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region 组件设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LayoutBox));
  30. this.contextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
  31. this.tsmiCut = new System.Windows.Forms.ToolStripMenuItem();
  32. this.tsmiCopy = new System.Windows.Forms.ToolStripMenuItem();
  33. this.tsmiPaste = new System.Windows.Forms.ToolStripMenuItem();
  34. this.tsmiDelete = new System.Windows.Forms.ToolStripMenuItem();
  35. this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
  36. this.tsmiProperties = new System.Windows.Forms.ToolStripMenuItem();
  37. this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
  38. this.tsmiAllSelect = new System.Windows.Forms.ToolStripMenuItem();
  39. this.tsmiArrange = new System.Windows.Forms.ToolStripMenuItem();
  40. this.contextMenuArrange = new System.Windows.Forms.ContextMenuStrip(this.components);
  41. this.tsmiTop = new System.Windows.Forms.ToolStripMenuItem();
  42. this.tsmiBottom = new System.Windows.Forms.ToolStripMenuItem();
  43. this.tsmiVerticalCenter = new System.Windows.Forms.ToolStripMenuItem();
  44. this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
  45. this.tsmiLeft = new System.Windows.Forms.ToolStripMenuItem();
  46. this.tsmiRight = new System.Windows.Forms.ToolStripMenuItem();
  47. this.tsmiHorizontalCenter = new System.Windows.Forms.ToolStripMenuItem();
  48. this.tsmiOrder = new System.Windows.Forms.ToolStripMenuItem();
  49. this.contextMenuOrder = new System.Windows.Forms.ContextMenuStrip(this.components);
  50. this.tsmiForemost = new System.Windows.Forms.ToolStripMenuItem();
  51. this.tsmiFront = new System.Windows.Forms.ToolStripMenuItem();
  52. this.tsmiBack = new System.Windows.Forms.ToolStripMenuItem();
  53. this.tsmiAftermost = new System.Windows.Forms.ToolStripMenuItem();
  54. this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
  55. this.tsmiZoom = new System.Windows.Forms.ToolStripMenuItem();
  56. this.contextMenuZoom = new System.Windows.Forms.ContextMenuStrip(this.components);
  57. this.tsmiZoom500 = new System.Windows.Forms.ToolStripMenuItem();
  58. this.tsmiZoom200 = new System.Windows.Forms.ToolStripMenuItem();
  59. this.tsmiZoom100 = new System.Windows.Forms.ToolStripMenuItem();
  60. this.tsmiZoom75 = new System.Windows.Forms.ToolStripMenuItem();
  61. this.tsmiZoom50 = new System.Windows.Forms.ToolStripMenuItem();
  62. this.tsmiZoom33 = new System.Windows.Forms.ToolStripMenuItem();
  63. this.tsmiZoom25 = new System.Windows.Forms.ToolStripMenuItem();
  64. this.tsmiZoom10 = new System.Windows.Forms.ToolStripMenuItem();
  65. this.tsmiZoomWhole = new System.Windows.Forms.ToolStripMenuItem();
  66. this.tsmiPaperSize = new System.Windows.Forms.ToolStripMenuItem();
  67. this.tsmiBackgroundImage = new System.Windows.Forms.ToolStripMenuItem();
  68. this.printDialog = new System.Windows.Forms.PrintDialog();
  69. this.printDocument = new System.Drawing.Printing.PrintDocument();
  70. this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
  71. this.paperBox = new Dongke.WinForm.Controls.InvoiceLayout.PaperBox();
  72. this.lblLeftTopPoint = new System.Windows.Forms.Label();
  73. this.lblRightBottomPoint = new System.Windows.Forms.Label();
  74. this.paperArea = new Dongke.WinForm.Controls.InvoiceLayout.PaperArea();
  75. this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
  76. this.contextMenu.SuspendLayout();
  77. this.contextMenuArrange.SuspendLayout();
  78. this.contextMenuOrder.SuspendLayout();
  79. this.contextMenuZoom.SuspendLayout();
  80. this.paperBox.SuspendLayout();
  81. this.SuspendLayout();
  82. //
  83. // contextMenu
  84. //
  85. this.contextMenu.BackColor = System.Drawing.Color.White;
  86. this.contextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  87. this.tsmiCut,
  88. this.tsmiCopy,
  89. this.tsmiPaste,
  90. this.tsmiDelete,
  91. this.toolStripSeparator1,
  92. this.tsmiProperties,
  93. this.toolStripSeparator2,
  94. this.tsmiAllSelect,
  95. this.tsmiArrange,
  96. this.tsmiOrder,
  97. this.toolStripSeparator3,
  98. this.tsmiZoom,
  99. this.tsmiPaperSize,
  100. this.tsmiBackgroundImage});
  101. this.contextMenu.Name = "contextMenu";
  102. this.contextMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
  103. this.contextMenu.ShowImageMargin = false;
  104. this.contextMenu.Size = new System.Drawing.Size(161, 264);
  105. this.contextMenu.Closing += new System.Windows.Forms.ToolStripDropDownClosingEventHandler(this.contextMenu_Closing);
  106. this.contextMenu.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenu_Opening);
  107. //
  108. // tsmiCut
  109. //
  110. this.tsmiCut.Enabled = false;
  111. this.tsmiCut.Name = "tsmiCut";
  112. this.tsmiCut.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
  113. this.tsmiCut.Size = new System.Drawing.Size(160, 22);
  114. this.tsmiCut.Text = "剪切(&T)";
  115. this.tsmiCut.Click += new System.EventHandler(this.tsmiCut_Click);
  116. //
  117. // tsmiCopy
  118. //
  119. this.tsmiCopy.Enabled = false;
  120. this.tsmiCopy.Name = "tsmiCopy";
  121. this.tsmiCopy.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
  122. this.tsmiCopy.Size = new System.Drawing.Size(160, 22);
  123. this.tsmiCopy.Text = "复制(&C)";
  124. this.tsmiCopy.Click += new System.EventHandler(this.tsmiCopy_Click);
  125. //
  126. // tsmiPaste
  127. //
  128. this.tsmiPaste.Enabled = false;
  129. this.tsmiPaste.Name = "tsmiPaste";
  130. this.tsmiPaste.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
  131. this.tsmiPaste.Size = new System.Drawing.Size(160, 22);
  132. this.tsmiPaste.Text = "粘贴(&P)";
  133. this.tsmiPaste.Click += new System.EventHandler(this.tsmiPaste_Click);
  134. //
  135. // tsmiDelete
  136. //
  137. this.tsmiDelete.Enabled = false;
  138. this.tsmiDelete.Name = "tsmiDelete";
  139. this.tsmiDelete.ShortcutKeyDisplayString = "Delete";
  140. this.tsmiDelete.ShortcutKeys = System.Windows.Forms.Keys.Delete;
  141. this.tsmiDelete.Size = new System.Drawing.Size(160, 22);
  142. this.tsmiDelete.Text = "删除(&L)";
  143. this.tsmiDelete.Click += new System.EventHandler(this.tsmiDelete_Click);
  144. //
  145. // toolStripSeparator1
  146. //
  147. this.toolStripSeparator1.Name = "toolStripSeparator1";
  148. this.toolStripSeparator1.Size = new System.Drawing.Size(157, 6);
  149. //
  150. // tsmiProperties
  151. //
  152. this.tsmiProperties.Enabled = false;
  153. this.tsmiProperties.Name = "tsmiProperties";
  154. this.tsmiProperties.Size = new System.Drawing.Size(160, 22);
  155. this.tsmiProperties.Text = "属性(&Y)...";
  156. this.tsmiProperties.Click += new System.EventHandler(this.tsmiProperties_Click);
  157. //
  158. // toolStripSeparator2
  159. //
  160. this.toolStripSeparator2.Name = "toolStripSeparator2";
  161. this.toolStripSeparator2.Size = new System.Drawing.Size(157, 6);
  162. //
  163. // tsmiAllSelect
  164. //
  165. this.tsmiAllSelect.Enabled = false;
  166. this.tsmiAllSelect.Name = "tsmiAllSelect";
  167. this.tsmiAllSelect.ShortcutKeyDisplayString = "";
  168. this.tsmiAllSelect.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
  169. this.tsmiAllSelect.Size = new System.Drawing.Size(160, 22);
  170. this.tsmiAllSelect.Text = "全部选择(&A)";
  171. this.tsmiAllSelect.Click += new System.EventHandler(this.tsmiAllSelect_Click);
  172. //
  173. // tsmiArrange
  174. //
  175. this.tsmiArrange.DropDown = this.contextMenuArrange;
  176. this.tsmiArrange.Enabled = false;
  177. this.tsmiArrange.Name = "tsmiArrange";
  178. this.tsmiArrange.Size = new System.Drawing.Size(160, 22);
  179. this.tsmiArrange.Text = "对齐(&Q)";
  180. //
  181. // contextMenuArrange
  182. //
  183. this.contextMenuArrange.BackColor = System.Drawing.Color.White;
  184. this.contextMenuArrange.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  185. this.tsmiTop,
  186. this.tsmiBottom,
  187. this.tsmiVerticalCenter,
  188. this.toolStripSeparator4,
  189. this.tsmiLeft,
  190. this.tsmiRight,
  191. this.tsmiHorizontalCenter});
  192. this.contextMenuArrange.Name = "contextMenuOrder";
  193. this.contextMenuArrange.OwnerItem = this.tsmiArrange;
  194. this.contextMenuArrange.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
  195. this.contextMenuArrange.ShowImageMargin = false;
  196. this.contextMenuArrange.Size = new System.Drawing.Size(141, 142);
  197. this.contextMenuArrange.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuArrange_Opening);
  198. //
  199. // tsmiTop
  200. //
  201. this.tsmiTop.Name = "tsmiTop";
  202. this.tsmiTop.Size = new System.Drawing.Size(140, 22);
  203. this.tsmiTop.Tag = "4";
  204. this.tsmiTop.Text = "顶端对齐(&T)";
  205. this.tsmiTop.Click += new System.EventHandler(this.tsmiTop_Click);
  206. //
  207. // tsmiBottom
  208. //
  209. this.tsmiBottom.Name = "tsmiBottom";
  210. this.tsmiBottom.Size = new System.Drawing.Size(140, 22);
  211. this.tsmiBottom.Tag = "5";
  212. this.tsmiBottom.Text = "底端对齐(&B)";
  213. this.tsmiBottom.Click += new System.EventHandler(this.tsmiBottom_Click);
  214. //
  215. // tsmiVerticalCenter
  216. //
  217. this.tsmiVerticalCenter.Name = "tsmiVerticalCenter";
  218. this.tsmiVerticalCenter.Size = new System.Drawing.Size(140, 22);
  219. this.tsmiVerticalCenter.Tag = "6";
  220. this.tsmiVerticalCenter.Text = "垂直居中对齐(&H)";
  221. this.tsmiVerticalCenter.Click += new System.EventHandler(this.tsmiVerticalCenter_Click);
  222. //
  223. // toolStripSeparator4
  224. //
  225. this.toolStripSeparator4.Name = "toolStripSeparator4";
  226. this.toolStripSeparator4.Size = new System.Drawing.Size(137, 6);
  227. //
  228. // tsmiLeft
  229. //
  230. this.tsmiLeft.Name = "tsmiLeft";
  231. this.tsmiLeft.Size = new System.Drawing.Size(140, 22);
  232. this.tsmiLeft.Tag = "2";
  233. this.tsmiLeft.Text = "左侧对齐(&L)";
  234. this.tsmiLeft.Click += new System.EventHandler(this.tsmiLeft_Click);
  235. //
  236. // tsmiRight
  237. //
  238. this.tsmiRight.Name = "tsmiRight";
  239. this.tsmiRight.Size = new System.Drawing.Size(140, 22);
  240. this.tsmiRight.Tag = "1";
  241. this.tsmiRight.Text = "右侧对齐(&R)";
  242. this.tsmiRight.Click += new System.EventHandler(this.tsmiRight_Click);
  243. //
  244. // tsmiHorizontalCenter
  245. //
  246. this.tsmiHorizontalCenter.Name = "tsmiHorizontalCenter";
  247. this.tsmiHorizontalCenter.Size = new System.Drawing.Size(140, 22);
  248. this.tsmiHorizontalCenter.Tag = "3";
  249. this.tsmiHorizontalCenter.Text = "水平居中对齐(&V)";
  250. this.tsmiHorizontalCenter.Click += new System.EventHandler(this.tsmiHorizontalCenter_Click);
  251. //
  252. // tsmiOrder
  253. //
  254. this.tsmiOrder.DropDown = this.contextMenuOrder;
  255. this.tsmiOrder.Enabled = false;
  256. this.tsmiOrder.Name = "tsmiOrder";
  257. this.tsmiOrder.ShortcutKeyDisplayString = "";
  258. this.tsmiOrder.Size = new System.Drawing.Size(160, 22);
  259. this.tsmiOrder.Text = "排序(&D)";
  260. //
  261. // contextMenuOrder
  262. //
  263. this.contextMenuOrder.BackColor = System.Drawing.Color.White;
  264. this.contextMenuOrder.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  265. this.tsmiForemost,
  266. this.tsmiFront,
  267. this.tsmiBack,
  268. this.tsmiAftermost});
  269. this.contextMenuOrder.Name = "contextMenuOrder";
  270. this.contextMenuOrder.OwnerItem = this.tsmiOrder;
  271. this.contextMenuOrder.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
  272. this.contextMenuOrder.ShowImageMargin = false;
  273. this.contextMenuOrder.Size = new System.Drawing.Size(116, 92);
  274. this.contextMenuOrder.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuOrder_Opening);
  275. //
  276. // tsmiForemost
  277. //
  278. this.tsmiForemost.Name = "tsmiForemost";
  279. this.tsmiForemost.Size = new System.Drawing.Size(115, 22);
  280. this.tsmiForemost.Tag = "1";
  281. this.tsmiForemost.Text = "置于顶层(&T)";
  282. this.tsmiForemost.Click += new System.EventHandler(this.tsmiForemost_Click);
  283. //
  284. // tsmiFront
  285. //
  286. this.tsmiFront.Name = "tsmiFront";
  287. this.tsmiFront.Size = new System.Drawing.Size(115, 22);
  288. this.tsmiFront.Tag = "3";
  289. this.tsmiFront.Text = "上移一层(&F)";
  290. this.tsmiFront.Click += new System.EventHandler(this.tsmiFront_Click);
  291. //
  292. // tsmiBack
  293. //
  294. this.tsmiBack.Name = "tsmiBack";
  295. this.tsmiBack.Size = new System.Drawing.Size(115, 22);
  296. this.tsmiBack.Tag = "4";
  297. this.tsmiBack.Text = "下移一层(&R)";
  298. this.tsmiBack.Click += new System.EventHandler(this.tsmiBack_Click);
  299. //
  300. // tsmiAftermost
  301. //
  302. this.tsmiAftermost.Name = "tsmiAftermost";
  303. this.tsmiAftermost.Size = new System.Drawing.Size(115, 22);
  304. this.tsmiAftermost.Tag = "2";
  305. this.tsmiAftermost.Text = "置于底层(&B)";
  306. this.tsmiAftermost.Click += new System.EventHandler(this.tsmiAftermost_Click);
  307. //
  308. // toolStripSeparator3
  309. //
  310. this.toolStripSeparator3.Name = "toolStripSeparator3";
  311. this.toolStripSeparator3.Size = new System.Drawing.Size(157, 6);
  312. this.toolStripSeparator3.Visible = false;
  313. //
  314. // tsmiZoom
  315. //
  316. this.tsmiZoom.DropDown = this.contextMenuZoom;
  317. this.tsmiZoom.Name = "tsmiZoom";
  318. this.tsmiZoom.Size = new System.Drawing.Size(160, 22);
  319. this.tsmiZoom.Text = "显示比例(&G)";
  320. //
  321. // contextMenuZoom
  322. //
  323. this.contextMenuZoom.BackColor = System.Drawing.Color.White;
  324. this.contextMenuZoom.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  325. this.tsmiZoom500,
  326. this.tsmiZoom200,
  327. this.tsmiZoom100,
  328. this.tsmiZoom75,
  329. this.tsmiZoom50,
  330. this.tsmiZoom33,
  331. this.tsmiZoom25,
  332. this.tsmiZoom10,
  333. this.tsmiZoomWhole});
  334. this.contextMenuZoom.Name = "contextMenuZoom";
  335. this.contextMenuZoom.OwnerItem = this.tsmiZoom;
  336. this.contextMenuZoom.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
  337. this.contextMenuZoom.ShowCheckMargin = true;
  338. this.contextMenuZoom.ShowImageMargin = false;
  339. this.contextMenuZoom.Size = new System.Drawing.Size(140, 202);
  340. this.contextMenuZoom.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuZoom_Opening);
  341. //
  342. // tsmiZoom500
  343. //
  344. this.tsmiZoom500.CheckOnClick = true;
  345. this.tsmiZoom500.Name = "tsmiZoom500";
  346. this.tsmiZoom500.Size = new System.Drawing.Size(139, 22);
  347. this.tsmiZoom500.Tag = "500";
  348. this.tsmiZoom500.Text = "500%(&1)";
  349. this.tsmiZoom500.Click += new System.EventHandler(this.tsmiZoom_Click);
  350. //
  351. // tsmiZoom200
  352. //
  353. this.tsmiZoom200.CheckOnClick = true;
  354. this.tsmiZoom200.Name = "tsmiZoom200";
  355. this.tsmiZoom200.Size = new System.Drawing.Size(139, 22);
  356. this.tsmiZoom200.Tag = "200";
  357. this.tsmiZoom200.Text = "200%(&2)";
  358. this.tsmiZoom200.Click += new System.EventHandler(this.tsmiZoom_Click);
  359. //
  360. // tsmiZoom100
  361. //
  362. this.tsmiZoom100.CheckOnClick = true;
  363. this.tsmiZoom100.Name = "tsmiZoom100";
  364. this.tsmiZoom100.Size = new System.Drawing.Size(139, 22);
  365. this.tsmiZoom100.Tag = "100";
  366. this.tsmiZoom100.Text = "100%(&3)";
  367. this.tsmiZoom100.Click += new System.EventHandler(this.tsmiZoom_Click);
  368. //
  369. // tsmiZoom75
  370. //
  371. this.tsmiZoom75.CheckOnClick = true;
  372. this.tsmiZoom75.Name = "tsmiZoom75";
  373. this.tsmiZoom75.Size = new System.Drawing.Size(139, 22);
  374. this.tsmiZoom75.Tag = "75";
  375. this.tsmiZoom75.Text = "75%(&4)";
  376. this.tsmiZoom75.Click += new System.EventHandler(this.tsmiZoom_Click);
  377. //
  378. // tsmiZoom50
  379. //
  380. this.tsmiZoom50.CheckOnClick = true;
  381. this.tsmiZoom50.Name = "tsmiZoom50";
  382. this.tsmiZoom50.Size = new System.Drawing.Size(139, 22);
  383. this.tsmiZoom50.Tag = "50";
  384. this.tsmiZoom50.Text = "50%(&5)";
  385. this.tsmiZoom50.Click += new System.EventHandler(this.tsmiZoom_Click);
  386. //
  387. // tsmiZoom33
  388. //
  389. this.tsmiZoom33.CheckOnClick = true;
  390. this.tsmiZoom33.Name = "tsmiZoom33";
  391. this.tsmiZoom33.Size = new System.Drawing.Size(139, 22);
  392. this.tsmiZoom33.Tag = "33";
  393. this.tsmiZoom33.Text = "33%(&6)";
  394. this.tsmiZoom33.Click += new System.EventHandler(this.tsmiZoom_Click);
  395. //
  396. // tsmiZoom25
  397. //
  398. this.tsmiZoom25.CheckOnClick = true;
  399. this.tsmiZoom25.Name = "tsmiZoom25";
  400. this.tsmiZoom25.Size = new System.Drawing.Size(139, 22);
  401. this.tsmiZoom25.Tag = "25";
  402. this.tsmiZoom25.Text = "25%(&7)";
  403. this.tsmiZoom25.Click += new System.EventHandler(this.tsmiZoom_Click);
  404. //
  405. // tsmiZoom10
  406. //
  407. this.tsmiZoom10.CheckOnClick = true;
  408. this.tsmiZoom10.Name = "tsmiZoom10";
  409. this.tsmiZoom10.Size = new System.Drawing.Size(139, 22);
  410. this.tsmiZoom10.Tag = "10";
  411. this.tsmiZoom10.Text = "10%(&8)";
  412. this.tsmiZoom10.Click += new System.EventHandler(this.tsmiZoom_Click);
  413. //
  414. // tsmiZoomWhole
  415. //
  416. this.tsmiZoomWhole.CheckOnClick = true;
  417. this.tsmiZoomWhole.Name = "tsmiZoomWhole";
  418. this.tsmiZoomWhole.Size = new System.Drawing.Size(139, 22);
  419. this.tsmiZoomWhole.Tag = "0";
  420. this.tsmiZoomWhole.Text = "全部显示(&9)";
  421. this.tsmiZoomWhole.Click += new System.EventHandler(this.tsmiZoom_Click);
  422. //
  423. // tsmiPaperSize
  424. //
  425. this.tsmiPaperSize.Enabled = false;
  426. this.tsmiPaperSize.Name = "tsmiPaperSize";
  427. this.tsmiPaperSize.Size = new System.Drawing.Size(160, 22);
  428. this.tsmiPaperSize.Text = "纸张大小(&E)...";
  429. this.tsmiPaperSize.Click += new System.EventHandler(this.tsmiPaperSize_Click);
  430. //
  431. // tsmiBackgroundImage
  432. //
  433. this.tsmiBackgroundImage.Enabled = false;
  434. this.tsmiBackgroundImage.Name = "tsmiBackgroundImage";
  435. this.tsmiBackgroundImage.Size = new System.Drawing.Size(160, 22);
  436. this.tsmiBackgroundImage.Text = "背景图片(&B)...";
  437. this.tsmiBackgroundImage.Click += new System.EventHandler(this.tsmiBackgroundImage_Click);
  438. //
  439. // printDialog
  440. //
  441. this.printDialog.Document = this.printDocument;
  442. this.printDialog.ShowHelp = true;
  443. this.printDialog.UseEXDialog = true;
  444. //
  445. // printDocument
  446. //
  447. this.printDocument.DocumentName = "LayoutDocument";
  448. this.printDocument.BeginPrint += new System.Drawing.Printing.PrintEventHandler(this.printDocument_BeginPrint);
  449. this.printDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.PrintDocument_PrintPage);
  450. //
  451. // openFileDialog
  452. //
  453. this.openFileDialog.Title = "增加图片";
  454. //
  455. // paperBox
  456. //
  457. this.paperBox.AutoScroll = true;
  458. this.paperBox.AutoScrollMargin = new System.Drawing.Size(4, 4);
  459. this.paperBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
  460. this.paperBox.Controls.Add(this.lblLeftTopPoint);
  461. this.paperBox.Controls.Add(this.lblRightBottomPoint);
  462. this.paperBox.Controls.Add(this.paperArea);
  463. this.paperBox.Dock = System.Windows.Forms.DockStyle.Fill;
  464. this.paperBox.Location = new System.Drawing.Point(0, 0);
  465. this.paperBox.Name = "paperBox";
  466. this.paperBox.Size = new System.Drawing.Size(440, 605);
  467. this.paperBox.TabIndex = 0;
  468. this.paperBox.SizeChanged += new System.EventHandler(this.PaperBox_SizeChanged);
  469. //
  470. // lblLeftTopPoint
  471. //
  472. this.lblLeftTopPoint.Enabled = false;
  473. this.lblLeftTopPoint.Location = new System.Drawing.Point(0, 0);
  474. this.lblLeftTopPoint.Name = "lblLeftTopPoint";
  475. this.lblLeftTopPoint.Size = new System.Drawing.Size(0, 0);
  476. this.lblLeftTopPoint.TabIndex = 1;
  477. this.lblLeftTopPoint.Visible = false;
  478. //
  479. // lblRightBottomPoint
  480. //
  481. this.lblRightBottomPoint.Location = new System.Drawing.Point(0, 0);
  482. this.lblRightBottomPoint.Name = "lblRightBottomPoint";
  483. this.lblRightBottomPoint.Size = new System.Drawing.Size(0, 0);
  484. this.lblRightBottomPoint.TabIndex = 2;
  485. //
  486. // paperArea
  487. //
  488. this.paperArea.BackColor = System.Drawing.Color.White;
  489. this.paperArea.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
  490. this.paperArea.ContextMenuStrip = this.contextMenu;
  491. this.paperArea.Location = new System.Drawing.Point(4, 4);
  492. this.paperArea.Name = "paperArea";
  493. this.paperArea.Size = new System.Drawing.Size(794, 1123);
  494. this.paperArea.TabIndex = 0;
  495. //
  496. // printPreviewDialog1
  497. //
  498. this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
  499. this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
  500. this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
  501. this.printPreviewDialog1.Document = this.printDocument;
  502. this.printPreviewDialog1.Enabled = true;
  503. this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
  504. this.printPreviewDialog1.Name = "printPreviewDialog1";
  505. this.printPreviewDialog1.Visible = false;
  506. //
  507. // LayoutBox
  508. //
  509. this.Controls.Add(this.paperBox);
  510. this.Name = "LayoutBox";
  511. this.Size = new System.Drawing.Size(440, 605);
  512. this.contextMenu.ResumeLayout(false);
  513. this.contextMenuArrange.ResumeLayout(false);
  514. this.contextMenuOrder.ResumeLayout(false);
  515. this.contextMenuZoom.ResumeLayout(false);
  516. this.paperBox.ResumeLayout(false);
  517. this.ResumeLayout(false);
  518. }
  519. #endregion
  520. private System.Windows.Forms.ContextMenuStrip contextMenu;
  521. private System.Windows.Forms.ToolStripMenuItem tsmiCut;
  522. private System.Windows.Forms.ToolStripMenuItem tsmiCopy;
  523. private System.Windows.Forms.ToolStripMenuItem tsmiPaste;
  524. private System.Windows.Forms.ToolStripMenuItem tsmiDelete;
  525. private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
  526. private System.Windows.Forms.ToolStripMenuItem tsmiProperties;
  527. private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
  528. private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
  529. private System.Windows.Forms.ToolStripMenuItem tsmiAllSelect;
  530. private System.Windows.Forms.ToolStripMenuItem tsmiArrange;
  531. private System.Windows.Forms.ToolStripMenuItem tsmiOrder;
  532. private System.Windows.Forms.ToolStripMenuItem tsmiZoom;
  533. private System.Windows.Forms.ToolStripMenuItem tsmiPaperSize;
  534. private System.Windows.Forms.ToolStripMenuItem tsmiBackgroundImage;
  535. private System.Windows.Forms.ToolStripMenuItem tsmiLeft;
  536. private System.Windows.Forms.ToolStripMenuItem tsmiRight;
  537. private System.Windows.Forms.ToolStripMenuItem tsmiHorizontalCenter;
  538. private System.Windows.Forms.ToolStripMenuItem tsmiTop;
  539. private System.Windows.Forms.ToolStripMenuItem tsmiBottom;
  540. private System.Windows.Forms.ToolStripMenuItem tsmiVerticalCenter;
  541. private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
  542. private System.Windows.Forms.ToolStripMenuItem tsmiZoom500;
  543. private System.Windows.Forms.ToolStripMenuItem tsmiZoom200;
  544. private System.Windows.Forms.ToolStripMenuItem tsmiZoom100;
  545. private System.Windows.Forms.ToolStripMenuItem tsmiZoom75;
  546. private System.Windows.Forms.ToolStripMenuItem tsmiZoom50;
  547. private System.Windows.Forms.ToolStripMenuItem tsmiZoom33;
  548. private System.Windows.Forms.ToolStripMenuItem tsmiZoom25;
  549. private System.Windows.Forms.ToolStripMenuItem tsmiZoom10;
  550. private System.Windows.Forms.ToolStripMenuItem tsmiZoomWhole;
  551. private System.Windows.Forms.ContextMenuStrip contextMenuArrange;
  552. private System.Windows.Forms.ContextMenuStrip contextMenuZoom;
  553. private System.Windows.Forms.ContextMenuStrip contextMenuOrder;
  554. private System.Windows.Forms.ToolStripMenuItem tsmiForemost;
  555. private System.Windows.Forms.ToolStripMenuItem tsmiFront;
  556. private System.Windows.Forms.ToolStripMenuItem tsmiBack;
  557. private System.Windows.Forms.ToolStripMenuItem tsmiAftermost;
  558. private Dongke.WinForm.Controls.InvoiceLayout.PaperArea paperArea;
  559. private Dongke.WinForm.Controls.InvoiceLayout.PaperBox paperBox;
  560. private System.Windows.Forms.Label lblRightBottomPoint;
  561. private System.Windows.Forms.PrintDialog printDialog;
  562. private System.Drawing.Printing.PrintDocument printDocument;
  563. //private System.Windows.Forms.PrintPreviewDialog printPreviewDialog;
  564. private System.Windows.Forms.OpenFileDialog openFileDialog;
  565. private System.Windows.Forms.Label lblLeftTopPoint;
  566. private System.Windows.Forms.PrintPreviewDialog printPreviewDialog1;
  567. }
  568. }