CoolPrintPreviewDialog.Designer.cs 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. namespace ProjectBase.Controls
  2. {
  3. partial class CoolPrintPreviewDialog
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, 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 Windows Form Designer generated code
  22. ///// <summary>
  23. ///// Required method for Designer support - do not modify
  24. ///// the contents of this method with the code editor.
  25. ///// </summary>
  26. //private void InitializeComponent()
  27. //{
  28. // this.components = new System.ComponentModel.Container();
  29. // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  30. // this.Text = "CoolPrintPreviewDialog";
  31. //}
  32. //#endregion
  33. #region Windows Form Designer generated code
  34. /// <summary>
  35. /// Required method for Designer support - do not modify
  36. /// the contents of this method with the code editor.
  37. /// </summary>
  38. private void InitializeComponent()
  39. {
  40. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CoolPrintPreviewDialog));
  41. this._toolStrip = new System.Windows.Forms.ToolStrip();
  42. this._btnPrint = new System.Windows.Forms.ToolStripButton();
  43. this._btnPageSetup = new System.Windows.Forms.ToolStripButton();
  44. this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
  45. this._btnZoom = new System.Windows.Forms.ToolStripSplitButton();
  46. this._itemActualSize = new System.Windows.Forms.ToolStripMenuItem();
  47. this._itemFullPage = new System.Windows.Forms.ToolStripMenuItem();
  48. this._itemTwoPages = new System.Windows.Forms.ToolStripMenuItem();
  49. this._itemPageWidth = new System.Windows.Forms.ToolStripMenuItem();
  50. this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
  51. this._item500 = new System.Windows.Forms.ToolStripMenuItem();
  52. this._item200 = new System.Windows.Forms.ToolStripMenuItem();
  53. this._item150 = new System.Windows.Forms.ToolStripMenuItem();
  54. this._item100 = new System.Windows.Forms.ToolStripMenuItem();
  55. this._item75 = new System.Windows.Forms.ToolStripMenuItem();
  56. this._item50 = new System.Windows.Forms.ToolStripMenuItem();
  57. this._item25 = new System.Windows.Forms.ToolStripMenuItem();
  58. this._item10 = new System.Windows.Forms.ToolStripMenuItem();
  59. this._btnFirst = new System.Windows.Forms.ToolStripButton();
  60. this._btnPrev = new System.Windows.Forms.ToolStripButton();
  61. this._txtStartPage = new System.Windows.Forms.ToolStripTextBox();
  62. this._lblPageCount = new System.Windows.Forms.ToolStripLabel();
  63. this._btnNext = new System.Windows.Forms.ToolStripButton();
  64. this._btnLast = new System.Windows.Forms.ToolStripButton();
  65. this._separator = new System.Windows.Forms.ToolStripSeparator();
  66. this._btnCancel = new System.Windows.Forms.ToolStripButton();
  67. this._preview = new ProjectBase.Controls.CoolPrintPreviewControl();
  68. this._toolStrip.SuspendLayout();
  69. this.SuspendLayout();
  70. //
  71. // _toolStrip
  72. //
  73. this._toolStrip.AutoSize = false;
  74. this._toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
  75. this._toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  76. this._btnPrint,
  77. this._btnPageSetup,
  78. this.toolStripSeparator2,
  79. this._btnZoom,
  80. this._btnFirst,
  81. this._btnPrev,
  82. this._txtStartPage,
  83. this._lblPageCount,
  84. this._btnNext,
  85. this._btnLast,
  86. this._separator,
  87. this._btnCancel});
  88. this._toolStrip.Location = new System.Drawing.Point(0, 0);
  89. this._toolStrip.Name = "_toolStrip";
  90. this._toolStrip.Size = new System.Drawing.Size(748, 30);
  91. this._toolStrip.TabIndex = 0;
  92. this._toolStrip.Text = "toolStrip1";
  93. //
  94. // _btnPrint
  95. //
  96. this._btnPrint.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  97. this._btnPrint.Image = ((System.Drawing.Image)(resources.GetObject("_btnPrint.Image")));
  98. this._btnPrint.ImageTransparentColor = System.Drawing.Color.Magenta;
  99. this._btnPrint.Name = "_btnPrint";
  100. this._btnPrint.Size = new System.Drawing.Size(23, 27);
  101. this._btnPrint.Text = "打印文档";
  102. this._btnPrint.Click += new System.EventHandler(this._btnPrint_Click);
  103. //
  104. // _btnPageSetup
  105. //
  106. this._btnPageSetup.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  107. this._btnPageSetup.Image = ((System.Drawing.Image)(resources.GetObject("_btnPageSetup.Image")));
  108. this._btnPageSetup.ImageTransparentColor = System.Drawing.Color.Magenta;
  109. this._btnPageSetup.Name = "_btnPageSetup";
  110. this._btnPageSetup.Size = new System.Drawing.Size(23, 27);
  111. this._btnPageSetup.Text = "页面设置";
  112. this._btnPageSetup.Click += new System.EventHandler(this._btnPageSetup_Click);
  113. //
  114. // toolStripSeparator2
  115. //
  116. this.toolStripSeparator2.Name = "toolStripSeparator2";
  117. this.toolStripSeparator2.Size = new System.Drawing.Size(6, 30);
  118. //
  119. // _btnZoom
  120. //
  121. this._btnZoom.AutoToolTip = false;
  122. this._btnZoom.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  123. this._itemActualSize,
  124. this._itemFullPage,
  125. this._itemTwoPages,
  126. this._itemPageWidth,
  127. this.toolStripMenuItem1,
  128. this._item500,
  129. this._item200,
  130. this._item150,
  131. this._item100,
  132. this._item75,
  133. this._item50,
  134. this._item25,
  135. this._item10});
  136. this._btnZoom.Image = ((System.Drawing.Image)(resources.GetObject("_btnZoom.Image")));
  137. this._btnZoom.ImageTransparentColor = System.Drawing.Color.Magenta;
  138. this._btnZoom.Name = "_btnZoom";
  139. this._btnZoom.Size = new System.Drawing.Size(79, 27);
  140. this._btnZoom.Text = "缩放(&Z)";
  141. this._btnZoom.ButtonClick += new System.EventHandler(this._btnZoom_ButtonClick);
  142. this._btnZoom.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this._btnZoom_DropDownItemClicked);
  143. //
  144. // _itemActualSize
  145. //
  146. this._itemActualSize.Name = "_itemActualSize";
  147. this._itemActualSize.Size = new System.Drawing.Size(180, 22);
  148. this._itemActualSize.Text = "实际尺寸";
  149. //
  150. // _itemFullPage
  151. //
  152. this._itemFullPage.Name = "_itemFullPage";
  153. this._itemFullPage.Size = new System.Drawing.Size(180, 22);
  154. this._itemFullPage.Text = "单页";
  155. //
  156. // _itemTwoPages
  157. //
  158. this._itemTwoPages.Name = "_itemTwoPages";
  159. this._itemTwoPages.Size = new System.Drawing.Size(180, 22);
  160. this._itemTwoPages.Text = "双页";
  161. //
  162. // _itemPageWidth
  163. //
  164. this._itemPageWidth.Name = "_itemPageWidth";
  165. this._itemPageWidth.Size = new System.Drawing.Size(180, 22);
  166. this._itemPageWidth.Text = "页宽";
  167. //
  168. // toolStripMenuItem1
  169. //
  170. this.toolStripMenuItem1.Name = "toolStripMenuItem1";
  171. this.toolStripMenuItem1.Size = new System.Drawing.Size(177, 6);
  172. //
  173. // _item500
  174. //
  175. this._item500.Name = "_item500";
  176. this._item500.Size = new System.Drawing.Size(180, 22);
  177. this._item500.Text = "500%";
  178. //
  179. // _item200
  180. //
  181. this._item200.Name = "_item200";
  182. this._item200.Size = new System.Drawing.Size(180, 22);
  183. this._item200.Text = "200%";
  184. //
  185. // _item150
  186. //
  187. this._item150.Name = "_item150";
  188. this._item150.Size = new System.Drawing.Size(180, 22);
  189. this._item150.Text = "150%";
  190. //
  191. // _item100
  192. //
  193. this._item100.Name = "_item100";
  194. this._item100.Size = new System.Drawing.Size(180, 22);
  195. this._item100.Text = "100%";
  196. //
  197. // _item75
  198. //
  199. this._item75.Name = "_item75";
  200. this._item75.Size = new System.Drawing.Size(180, 22);
  201. this._item75.Text = "75%";
  202. //
  203. // _item50
  204. //
  205. this._item50.Name = "_item50";
  206. this._item50.Size = new System.Drawing.Size(180, 22);
  207. this._item50.Text = "50%";
  208. //
  209. // _item25
  210. //
  211. this._item25.Name = "_item25";
  212. this._item25.Size = new System.Drawing.Size(180, 22);
  213. this._item25.Text = "25%";
  214. //
  215. // _item10
  216. //
  217. this._item10.Name = "_item10";
  218. this._item10.Size = new System.Drawing.Size(180, 22);
  219. this._item10.Text = "10%";
  220. //
  221. // _btnFirst
  222. //
  223. this._btnFirst.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  224. this._btnFirst.Image = ((System.Drawing.Image)(resources.GetObject("_btnFirst.Image")));
  225. this._btnFirst.ImageTransparentColor = System.Drawing.Color.Red;
  226. this._btnFirst.Name = "_btnFirst";
  227. this._btnFirst.Size = new System.Drawing.Size(23, 27);
  228. this._btnFirst.Text = "首页";
  229. this._btnFirst.Click += new System.EventHandler(this._btnFirst_Click);
  230. //
  231. // _btnPrev
  232. //
  233. this._btnPrev.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  234. this._btnPrev.Image = ((System.Drawing.Image)(resources.GetObject("_btnPrev.Image")));
  235. this._btnPrev.ImageTransparentColor = System.Drawing.Color.Red;
  236. this._btnPrev.Name = "_btnPrev";
  237. this._btnPrev.Size = new System.Drawing.Size(23, 27);
  238. this._btnPrev.Text = "上一页";
  239. this._btnPrev.Click += new System.EventHandler(this._btnPrev_Click);
  240. //
  241. // _txtStartPage
  242. //
  243. this._txtStartPage.AutoSize = false;
  244. this._txtStartPage.Name = "_txtStartPage";
  245. this._txtStartPage.Size = new System.Drawing.Size(32, 21);
  246. this._txtStartPage.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
  247. this._txtStartPage.Enter += new System.EventHandler(this._txtStartPage_Enter);
  248. this._txtStartPage.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this._txtStartPage_KeyPress);
  249. this._txtStartPage.Validating += new System.ComponentModel.CancelEventHandler(this._txtStartPage_Validating);
  250. //
  251. // _lblPageCount
  252. //
  253. this._lblPageCount.Name = "_lblPageCount";
  254. this._lblPageCount.Size = new System.Drawing.Size(12, 27);
  255. this._lblPageCount.Text = " ";
  256. //
  257. // _btnNext
  258. //
  259. this._btnNext.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  260. this._btnNext.Image = ((System.Drawing.Image)(resources.GetObject("_btnNext.Image")));
  261. this._btnNext.ImageTransparentColor = System.Drawing.Color.Red;
  262. this._btnNext.Name = "_btnNext";
  263. this._btnNext.Size = new System.Drawing.Size(23, 27);
  264. this._btnNext.Text = "下一页";
  265. this._btnNext.Click += new System.EventHandler(this._btnNext_Click);
  266. //
  267. // _btnLast
  268. //
  269. this._btnLast.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  270. this._btnLast.Image = ((System.Drawing.Image)(resources.GetObject("_btnLast.Image")));
  271. this._btnLast.ImageTransparentColor = System.Drawing.Color.Red;
  272. this._btnLast.Name = "_btnLast";
  273. this._btnLast.Size = new System.Drawing.Size(23, 27);
  274. this._btnLast.Text = "最后一页";
  275. this._btnLast.Click += new System.EventHandler(this._btnLast_Click);
  276. //
  277. // _separator
  278. //
  279. this._separator.Name = "_separator";
  280. this._separator.Size = new System.Drawing.Size(6, 30);
  281. this._separator.Visible = false;
  282. //
  283. // _btnCancel
  284. //
  285. this._btnCancel.AutoToolTip = false;
  286. this._btnCancel.Image = ((System.Drawing.Image)(resources.GetObject("_btnCancel.Image")));
  287. this._btnCancel.ImageTransparentColor = System.Drawing.Color.Magenta;
  288. this._btnCancel.Name = "_btnCancel";
  289. this._btnCancel.Size = new System.Drawing.Size(52, 27);
  290. this._btnCancel.Text = "取消";
  291. this._btnCancel.Click += new System.EventHandler(this._btnCancel_Click);
  292. //
  293. // _preview
  294. //
  295. this._preview.AutoScroll = true;
  296. this._preview.Dock = System.Windows.Forms.DockStyle.Fill;
  297. this._preview.Document = null;
  298. this._preview.Location = new System.Drawing.Point(0, 30);
  299. this._preview.Name = "_preview";
  300. this._preview.Size = new System.Drawing.Size(748, 677);
  301. this._preview.TabIndex = 1;
  302. this._preview.StartPageChanged += new System.EventHandler(this._preview_StartPageChanged);
  303. this._preview.PageCountChanged += new System.EventHandler(this._preview_PageCountChanged);
  304. //
  305. // CoolPrintPreviewDialog
  306. //
  307. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
  308. this.ClientSize = new System.Drawing.Size(748, 707);
  309. this.Controls.Add(this._preview);
  310. this.Controls.Add(this._toolStrip);
  311. this.Name = "CoolPrintPreviewDialog";
  312. this.ShowIcon = false;
  313. this.ShowInTaskbar = false;
  314. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
  315. this.Text = "打印预览";
  316. this._toolStrip.ResumeLayout(false);
  317. this._toolStrip.PerformLayout();
  318. this.ResumeLayout(false);
  319. }
  320. #endregion
  321. private System.Windows.Forms.ToolStrip _toolStrip;
  322. private System.Windows.Forms.ToolStripButton _btnPrint;
  323. private System.Windows.Forms.ToolStripButton _btnPageSetup;
  324. private CoolPrintPreviewControl _preview;
  325. private System.Windows.Forms.ToolStripSplitButton _btnZoom;
  326. private System.Windows.Forms.ToolStripMenuItem _itemActualSize;
  327. private System.Windows.Forms.ToolStripMenuItem _itemFullPage;
  328. private System.Windows.Forms.ToolStripMenuItem _itemPageWidth;
  329. private System.Windows.Forms.ToolStripMenuItem _itemTwoPages;
  330. private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
  331. private System.Windows.Forms.ToolStripMenuItem _item500;
  332. private System.Windows.Forms.ToolStripMenuItem _item200;
  333. private System.Windows.Forms.ToolStripMenuItem _item150;
  334. private System.Windows.Forms.ToolStripMenuItem _item100;
  335. private System.Windows.Forms.ToolStripMenuItem _item75;
  336. private System.Windows.Forms.ToolStripMenuItem _item50;
  337. private System.Windows.Forms.ToolStripMenuItem _item25;
  338. private System.Windows.Forms.ToolStripMenuItem _item10;
  339. private System.Windows.Forms.ToolStripButton _btnFirst;
  340. private System.Windows.Forms.ToolStripButton _btnPrev;
  341. private System.Windows.Forms.ToolStripTextBox _txtStartPage;
  342. private System.Windows.Forms.ToolStripLabel _lblPageCount;
  343. private System.Windows.Forms.ToolStripButton _btnNext;
  344. private System.Windows.Forms.ToolStripButton _btnLast;
  345. private System.Windows.Forms.ToolStripSeparator _separator;
  346. private System.Windows.Forms.ToolStripButton _btnCancel;
  347. private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
  348. }
  349. }