frmMain.Designer.cs 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647
  1. namespace GraEditor
  2. {
  3. partial class frmMain
  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. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
  30. System.Drawing.Drawing2D.Matrix matrix2 = new System.Drawing.Drawing2D.Matrix();
  31. this.GE_toolBar1 = new System.Windows.Forms.ToolBar();
  32. this.tlBtnNew = new System.Windows.Forms.ToolBarButton();
  33. this.tlBtnOpen = new System.Windows.Forms.ToolBarButton();
  34. this.tlBtnSave = new System.Windows.Forms.ToolBarButton();
  35. this.tlbtnSaves = new System.Windows.Forms.ToolBarButton();
  36. this.sp1 = new System.Windows.Forms.ToolBarButton();
  37. this.tlBtnSelect = new System.Windows.Forms.ToolBarButton();
  38. this.tlBtnCopy = new System.Windows.Forms.ToolBarButton();
  39. this.tlBtnCut = new System.Windows.Forms.ToolBarButton();
  40. this.sp2 = new System.Windows.Forms.ToolBarButton();
  41. this.tlBtnUndo = new System.Windows.Forms.ToolBarButton();
  42. this.tlBtnRedo = new System.Windows.Forms.ToolBarButton();
  43. this.sp5 = new System.Windows.Forms.ToolBarButton();
  44. this.tlBtnFont = new System.Windows.Forms.ToolBarButton();
  45. this.tlBtnColor = new System.Windows.Forms.ToolBarButton();
  46. this.tlBtnPenWidth = new System.Windows.Forms.ToolBarButton();
  47. this.muPenWidth = new System.Windows.Forms.ContextMenu();
  48. this.toolBarButton1 = new System.Windows.Forms.ToolBarButton();
  49. this.tlbtnprintpreview = new System.Windows.Forms.ToolBarButton();
  50. this.tlbtnprint = new System.Windows.Forms.ToolBarButton();
  51. this.tlbtnprintSet = new System.Windows.Forms.ToolBarButton();
  52. this.GE_imageList = new System.Windows.Forms.ImageList(this.components);
  53. this.GE_statusBar = new System.Windows.Forms.StatusBar();
  54. this.sbPanelTip = new System.Windows.Forms.StatusBarPanel();
  55. this.sbPanelFont = new System.Windows.Forms.StatusBarPanel();
  56. this.sbPanelViewScale = new System.Windows.Forms.StatusBarPanel();
  57. this.sbPanelMousePos = new System.Windows.Forms.StatusBarPanel();
  58. this.GE_toolBar = new System.Windows.Forms.ToolBar();
  59. this.tlBtnErase = new System.Windows.Forms.ToolBarButton();
  60. this.sep2 = new System.Windows.Forms.ToolBarButton();
  61. this.tlBtnFreehand = new System.Windows.Forms.ToolBarButton();
  62. this.tlBtnLine = new System.Windows.Forms.ToolBarButton();
  63. this.tlBtnArrow = new System.Windows.Forms.ToolBarButton();
  64. this.tlBtnLines = new System.Windows.Forms.ToolBarButton();
  65. this.tlBtnFrameRect = new System.Windows.Forms.ToolBarButton();
  66. this.tlBtnFillRect = new System.Windows.Forms.ToolBarButton();
  67. this.tlBtnFrameEllipse = new System.Windows.Forms.ToolBarButton();
  68. this.tlBtnFillEllipse = new System.Windows.Forms.ToolBarButton();
  69. this.tlBtnImage = new System.Windows.Forms.ToolBarButton();
  70. this.tlBtnText = new System.Windows.Forms.ToolBarButton();
  71. this.sep3 = new System.Windows.Forms.ToolBarButton();
  72. this.tlBtnZoomIn = new System.Windows.Forms.ToolBarButton();
  73. this.tlBtnZoomOut = new System.Windows.Forms.ToolBarButton();
  74. this.tlbtnhand = new System.Windows.Forms.ToolBarButton();
  75. this.tlBtnZoomResume = new System.Windows.Forms.ToolBarButton();
  76. this.sep4 = new System.Windows.Forms.ToolBarButton();
  77. this.tlbtnExit = new System.Windows.Forms.ToolBarButton();
  78. this.cmsCanvasMenuItem = new System.Windows.Forms.ContextMenuStrip(this.components);
  79. this.pasteMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  80. this.menuItemCanvasBgColor = new System.Windows.Forms.ToolStripMenuItem();
  81. this.menuItemCanvasSize = new System.Windows.Forms.ToolStripMenuItem();
  82. this.printDocument1 = new System.Drawing.Printing.PrintDocument();
  83. this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog();
  84. this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
  85. this.tlbtnreload = new System.Windows.Forms.ToolBarButton();
  86. this.mainView = new GraEditor.MainView();
  87. this.tlbtnSaveExplain = new System.Windows.Forms.ToolBarButton();
  88. this.toolBarButton2 = new System.Windows.Forms.ToolBarButton();
  89. ((System.ComponentModel.ISupportInitialize)(this.sbPanelTip)).BeginInit();
  90. ((System.ComponentModel.ISupportInitialize)(this.sbPanelFont)).BeginInit();
  91. ((System.ComponentModel.ISupportInitialize)(this.sbPanelViewScale)).BeginInit();
  92. ((System.ComponentModel.ISupportInitialize)(this.sbPanelMousePos)).BeginInit();
  93. this.cmsCanvasMenuItem.SuspendLayout();
  94. this.SuspendLayout();
  95. //
  96. // GE_toolBar1
  97. //
  98. this.GE_toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
  99. this.GE_toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
  100. this.tlbtnreload,
  101. this.tlbtnSaveExplain,
  102. this.toolBarButton2,
  103. this.tlBtnNew,
  104. this.tlBtnOpen,
  105. this.tlBtnSave,
  106. this.tlbtnSaves,
  107. this.sp1,
  108. this.tlBtnSelect,
  109. this.tlBtnCopy,
  110. this.tlBtnCut,
  111. this.sp2,
  112. this.tlBtnUndo,
  113. this.tlBtnRedo,
  114. this.sp5,
  115. this.tlBtnFont,
  116. this.tlBtnColor,
  117. this.tlBtnPenWidth,
  118. this.toolBarButton1,
  119. this.tlbtnprintpreview,
  120. this.tlbtnprint,
  121. this.tlbtnprintSet});
  122. this.GE_toolBar1.DropDownArrows = true;
  123. this.GE_toolBar1.ImageList = this.GE_imageList;
  124. this.GE_toolBar1.Location = new System.Drawing.Point(0, 0);
  125. this.GE_toolBar1.Name = "GE_toolBar1";
  126. this.GE_toolBar1.ShowToolTips = true;
  127. this.GE_toolBar1.Size = new System.Drawing.Size(784, 44);
  128. this.GE_toolBar1.TabIndex = 1;
  129. this.GE_toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.GE_toolBar1_ButtonClick);
  130. //
  131. // tlBtnNew
  132. //
  133. this.tlBtnNew.ImageIndex = 32;
  134. this.tlBtnNew.Name = "tlBtnNew";
  135. this.tlBtnNew.ToolTipText = "新建文件";
  136. //
  137. // tlBtnOpen
  138. //
  139. this.tlBtnOpen.ImageIndex = 20;
  140. this.tlBtnOpen.Name = "tlBtnOpen";
  141. this.tlBtnOpen.ToolTipText = "打开图像";
  142. //
  143. // tlBtnSave
  144. //
  145. this.tlBtnSave.ImageIndex = 17;
  146. this.tlBtnSave.Name = "tlBtnSave";
  147. this.tlBtnSave.ToolTipText = "保存";
  148. //
  149. // tlbtnSaves
  150. //
  151. this.tlbtnSaves.ImageIndex = 47;
  152. this.tlbtnSaves.Name = "tlbtnSaves";
  153. this.tlbtnSaves.ToolTipText = "另存为";
  154. //
  155. // sp1
  156. //
  157. this.sp1.Name = "sp1";
  158. this.sp1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
  159. //
  160. // tlBtnSelect
  161. //
  162. this.tlBtnSelect.ImageIndex = 42;
  163. this.tlBtnSelect.Name = "tlBtnSelect";
  164. this.tlBtnSelect.ToolTipText = "选择";
  165. //
  166. // tlBtnCopy
  167. //
  168. this.tlBtnCopy.ImageIndex = 30;
  169. this.tlBtnCopy.Name = "tlBtnCopy";
  170. this.tlBtnCopy.ToolTipText = "复制";
  171. //
  172. // tlBtnCut
  173. //
  174. this.tlBtnCut.ImageIndex = 31;
  175. this.tlBtnCut.Name = "tlBtnCut";
  176. this.tlBtnCut.ToolTipText = "剪切";
  177. //
  178. // sp2
  179. //
  180. this.sp2.Name = "sp2";
  181. this.sp2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
  182. //
  183. // tlBtnUndo
  184. //
  185. this.tlBtnUndo.ImageIndex = 25;
  186. this.tlBtnUndo.Name = "tlBtnUndo";
  187. this.tlBtnUndo.ToolTipText = "撤销";
  188. //
  189. // tlBtnRedo
  190. //
  191. this.tlBtnRedo.ImageIndex = 26;
  192. this.tlBtnRedo.Name = "tlBtnRedo";
  193. this.tlBtnRedo.ToolTipText = "恢复";
  194. //
  195. // sp5
  196. //
  197. this.sp5.Name = "sp5";
  198. this.sp5.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
  199. //
  200. // tlBtnFont
  201. //
  202. this.tlBtnFont.ImageIndex = 46;
  203. this.tlBtnFont.Name = "tlBtnFont";
  204. this.tlBtnFont.ToolTipText = "字体设置";
  205. //
  206. // tlBtnColor
  207. //
  208. this.tlBtnColor.ImageIndex = 23;
  209. this.tlBtnColor.Name = "tlBtnColor";
  210. this.tlBtnColor.ToolTipText = "画笔和字体颜色";
  211. //
  212. // tlBtnPenWidth
  213. //
  214. this.tlBtnPenWidth.DropDownMenu = this.muPenWidth;
  215. this.tlBtnPenWidth.ImageIndex = 12;
  216. this.tlBtnPenWidth.Name = "tlBtnPenWidth";
  217. this.tlBtnPenWidth.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
  218. this.tlBtnPenWidth.ToolTipText = "画笔大小";
  219. //
  220. // toolBarButton1
  221. //
  222. this.toolBarButton1.Name = "toolBarButton1";
  223. this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
  224. //
  225. // tlbtnprintpreview
  226. //
  227. this.tlbtnprintpreview.ImageIndex = 29;
  228. this.tlbtnprintpreview.Name = "tlbtnprintpreview";
  229. this.tlbtnprintpreview.ToolTipText = "打印预览";
  230. //
  231. // tlbtnprint
  232. //
  233. this.tlbtnprint.ImageIndex = 28;
  234. this.tlbtnprint.Name = "tlbtnprint";
  235. this.tlbtnprint.ToolTipText = "打印";
  236. //
  237. // tlbtnprintSet
  238. //
  239. this.tlbtnprintSet.ImageIndex = 27;
  240. this.tlbtnprintSet.Name = "tlbtnprintSet";
  241. this.tlbtnprintSet.ToolTipText = "打印页面设置";
  242. //
  243. // GE_imageList
  244. //
  245. this.GE_imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("GE_imageList.ImageStream")));
  246. this.GE_imageList.TransparentColor = System.Drawing.Color.Transparent;
  247. this.GE_imageList.Images.SetKeyName(0, "");
  248. this.GE_imageList.Images.SetKeyName(1, "");
  249. this.GE_imageList.Images.SetKeyName(2, "");
  250. this.GE_imageList.Images.SetKeyName(3, "");
  251. this.GE_imageList.Images.SetKeyName(4, "");
  252. this.GE_imageList.Images.SetKeyName(5, "");
  253. this.GE_imageList.Images.SetKeyName(6, "");
  254. this.GE_imageList.Images.SetKeyName(7, "");
  255. this.GE_imageList.Images.SetKeyName(8, "");
  256. this.GE_imageList.Images.SetKeyName(9, "");
  257. this.GE_imageList.Images.SetKeyName(10, "");
  258. this.GE_imageList.Images.SetKeyName(11, "");
  259. this.GE_imageList.Images.SetKeyName(12, "");
  260. this.GE_imageList.Images.SetKeyName(13, "printpreview.png");
  261. this.GE_imageList.Images.SetKeyName(14, "Print.png");
  262. this.GE_imageList.Images.SetKeyName(15, "PrintSet.png");
  263. this.GE_imageList.Images.SetKeyName(16, "Exit.png");
  264. this.GE_imageList.Images.SetKeyName(17, "Save_128.png");
  265. this.GE_imageList.Images.SetKeyName(18, "new_256.png");
  266. this.GE_imageList.Images.SetKeyName(19, "imgae_767.png");
  267. this.GE_imageList.Images.SetKeyName(20, "Open.png");
  268. this.GE_imageList.Images.SetKeyName(21, "text_128.png");
  269. this.GE_imageList.Images.SetKeyName(22, "draw_256.png");
  270. this.GE_imageList.Images.SetKeyName(23, "color_128.png");
  271. this.GE_imageList.Images.SetKeyName(24, "textColor_128.png");
  272. this.GE_imageList.Images.SetKeyName(25, "l_128.png");
  273. this.GE_imageList.Images.SetKeyName(26, "r_128.png");
  274. this.GE_imageList.Images.SetKeyName(27, "pageSte_128.png");
  275. this.GE_imageList.Images.SetKeyName(28, "Print_128.png");
  276. this.GE_imageList.Images.SetKeyName(29, "printpreview2.png");
  277. this.GE_imageList.Images.SetKeyName(30, "new_128.png");
  278. this.GE_imageList.Images.SetKeyName(31, "cut_256.png");
  279. this.GE_imageList.Images.SetKeyName(32, "newFile_256.png");
  280. this.GE_imageList.Images.SetKeyName(33, "select_256.png");
  281. this.GE_imageList.Images.SetKeyName(34, "pencil_512.png");
  282. this.GE_imageList.Images.SetKeyName(35, "ellipse_512.png");
  283. this.GE_imageList.Images.SetKeyName(36, "JT.png");
  284. this.GE_imageList.Images.SetKeyName(37, "line.png");
  285. this.GE_imageList.Images.SetKeyName(38, "rec_512.png");
  286. this.GE_imageList.Images.SetKeyName(39, "recs.png");
  287. this.GE_imageList.Images.SetKeyName(40, "fillellipse_512.png");
  288. this.GE_imageList.Images.SetKeyName(41, "Zline.png");
  289. this.GE_imageList.Images.SetKeyName(42, "select2_128.png");
  290. this.GE_imageList.Images.SetKeyName(43, "201hf.png");
  291. this.GE_imageList.Images.SetKeyName(44, "Fd.png");
  292. this.GE_imageList.Images.SetKeyName(45, "SX.png");
  293. this.GE_imageList.Images.SetKeyName(46, "T_128.png");
  294. this.GE_imageList.Images.SetKeyName(47, "saves_64.png");
  295. this.GE_imageList.Images.SetKeyName(48, "hand_48.png");
  296. this.GE_imageList.Images.SetKeyName(49, "reload_128.png");
  297. this.GE_imageList.Images.SetKeyName(50, "S_256.png");
  298. //
  299. // GE_statusBar
  300. //
  301. this.GE_statusBar.Location = new System.Drawing.Point(0, 539);
  302. this.GE_statusBar.Name = "GE_statusBar";
  303. this.GE_statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
  304. this.sbPanelTip,
  305. this.sbPanelFont,
  306. this.sbPanelViewScale,
  307. this.sbPanelMousePos});
  308. this.GE_statusBar.ShowPanels = true;
  309. this.GE_statusBar.Size = new System.Drawing.Size(784, 23);
  310. this.GE_statusBar.TabIndex = 6;
  311. //
  312. // sbPanelTip
  313. //
  314. this.sbPanelTip.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
  315. this.sbPanelTip.Name = "sbPanelTip";
  316. this.sbPanelTip.Width = 457;
  317. //
  318. // sbPanelFont
  319. //
  320. this.sbPanelFont.Name = "sbPanelFont";
  321. this.sbPanelFont.Width = 150;
  322. //
  323. // sbPanelViewScale
  324. //
  325. this.sbPanelViewScale.Name = "sbPanelViewScale";
  326. this.sbPanelViewScale.Width = 60;
  327. //
  328. // sbPanelMousePos
  329. //
  330. this.sbPanelMousePos.Name = "sbPanelMousePos";
  331. //
  332. // GE_toolBar
  333. //
  334. this.GE_toolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
  335. this.GE_toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
  336. this.tlBtnErase,
  337. this.sep2,
  338. this.tlBtnFreehand,
  339. this.tlBtnLine,
  340. this.tlBtnArrow,
  341. this.tlBtnLines,
  342. this.tlBtnFrameRect,
  343. this.tlBtnFillRect,
  344. this.tlBtnFrameEllipse,
  345. this.tlBtnFillEllipse,
  346. this.tlBtnImage,
  347. this.tlBtnText,
  348. this.sep3,
  349. this.tlBtnZoomIn,
  350. this.tlBtnZoomOut,
  351. this.tlbtnhand,
  352. this.tlBtnZoomResume,
  353. this.sep4,
  354. this.tlbtnExit});
  355. this.GE_toolBar.DropDownArrows = true;
  356. this.GE_toolBar.ImageList = this.GE_imageList;
  357. this.GE_toolBar.Location = new System.Drawing.Point(0, 44);
  358. this.GE_toolBar.Name = "GE_toolBar";
  359. this.GE_toolBar.ShowToolTips = true;
  360. this.GE_toolBar.Size = new System.Drawing.Size(784, 44);
  361. this.GE_toolBar.TabIndex = 5;
  362. this.GE_toolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.GE_toolBar_ButtonClick);
  363. //
  364. // tlBtnErase
  365. //
  366. this.tlBtnErase.ImageIndex = 22;
  367. this.tlBtnErase.Name = "tlBtnErase";
  368. this.tlBtnErase.ToolTipText = "橡皮擦";
  369. //
  370. // sep2
  371. //
  372. this.sep2.Name = "sep2";
  373. this.sep2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
  374. //
  375. // tlBtnFreehand
  376. //
  377. this.tlBtnFreehand.ImageIndex = 34;
  378. this.tlBtnFreehand.Name = "tlBtnFreehand";
  379. this.tlBtnFreehand.ToolTipText = "铅笔 自由画线";
  380. //
  381. // tlBtnLine
  382. //
  383. this.tlBtnLine.ImageIndex = 37;
  384. this.tlBtnLine.Name = "tlBtnLine";
  385. this.tlBtnLine.ToolTipText = "画线 按住“Shift”画水平或垂直线条";
  386. //
  387. // tlBtnArrow
  388. //
  389. this.tlBtnArrow.ImageIndex = 36;
  390. this.tlBtnArrow.Name = "tlBtnArrow";
  391. this.tlBtnArrow.ToolTipText = "画箭头";
  392. //
  393. // tlBtnLines
  394. //
  395. this.tlBtnLines.ImageIndex = 41;
  396. this.tlBtnLines.Name = "tlBtnLines";
  397. this.tlBtnLines.ToolTipText = "画多段线";
  398. //
  399. // tlBtnFrameRect
  400. //
  401. this.tlBtnFrameRect.ImageIndex = 38;
  402. this.tlBtnFrameRect.Name = "tlBtnFrameRect";
  403. this.tlBtnFrameRect.ToolTipText = "画空心矩形";
  404. //
  405. // tlBtnFillRect
  406. //
  407. this.tlBtnFillRect.ImageIndex = 39;
  408. this.tlBtnFillRect.Name = "tlBtnFillRect";
  409. this.tlBtnFillRect.ToolTipText = "画实心矩形";
  410. //
  411. // tlBtnFrameEllipse
  412. //
  413. this.tlBtnFrameEllipse.ImageIndex = 35;
  414. this.tlBtnFrameEllipse.Name = "tlBtnFrameEllipse";
  415. this.tlBtnFrameEllipse.ToolTipText = "画空心矩形";
  416. //
  417. // tlBtnFillEllipse
  418. //
  419. this.tlBtnFillEllipse.ImageIndex = 40;
  420. this.tlBtnFillEllipse.Name = "tlBtnFillEllipse";
  421. this.tlBtnFillEllipse.ToolTipText = "画实心矩形";
  422. //
  423. // tlBtnImage
  424. //
  425. this.tlBtnImage.ImageIndex = 19;
  426. this.tlBtnImage.Name = "tlBtnImage";
  427. this.tlBtnImage.ToolTipText = "导入图像";
  428. //
  429. // tlBtnText
  430. //
  431. this.tlBtnText.ImageIndex = 21;
  432. this.tlBtnText.Name = "tlBtnText";
  433. this.tlBtnText.ToolTipText = "输入文字";
  434. //
  435. // sep3
  436. //
  437. this.sep3.Name = "sep3";
  438. this.sep3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
  439. //
  440. // tlBtnZoomIn
  441. //
  442. this.tlBtnZoomIn.ImageIndex = 44;
  443. this.tlBtnZoomIn.Name = "tlBtnZoomIn";
  444. this.tlBtnZoomIn.ToolTipText = "放大视图";
  445. //
  446. // tlBtnZoomOut
  447. //
  448. this.tlBtnZoomOut.ImageIndex = 45;
  449. this.tlBtnZoomOut.Name = "tlBtnZoomOut";
  450. this.tlBtnZoomOut.ToolTipText = "缩小视图";
  451. //
  452. // tlbtnhand
  453. //
  454. this.tlbtnhand.ImageIndex = 48;
  455. this.tlbtnhand.Name = "tlbtnhand";
  456. this.tlbtnhand.ToolTipText = "移动视图";
  457. //
  458. // tlBtnZoomResume
  459. //
  460. this.tlBtnZoomResume.ImageIndex = 43;
  461. this.tlBtnZoomResume.Name = "tlBtnZoomResume";
  462. this.tlBtnZoomResume.ToolTipText = "恢复视图";
  463. //
  464. // sep4
  465. //
  466. this.sep4.Name = "sep4";
  467. this.sep4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
  468. //
  469. // tlbtnExit
  470. //
  471. this.tlbtnExit.ImageIndex = 16;
  472. this.tlbtnExit.Name = "tlbtnExit";
  473. this.tlbtnExit.ToolTipText = "退出";
  474. //
  475. // cmsCanvasMenuItem
  476. //
  477. this.cmsCanvasMenuItem.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  478. this.pasteMenuItem,
  479. this.menuItemCanvasBgColor,
  480. this.menuItemCanvasSize});
  481. this.cmsCanvasMenuItem.Name = "contextMenuStrip1";
  482. this.cmsCanvasMenuItem.Size = new System.Drawing.Size(125, 70);
  483. this.cmsCanvasMenuItem.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip1_Opening);
  484. //
  485. // pasteMenuItem
  486. //
  487. this.pasteMenuItem.Name = "pasteMenuItem";
  488. this.pasteMenuItem.Size = new System.Drawing.Size(124, 22);
  489. this.pasteMenuItem.Text = "粘贴";
  490. this.pasteMenuItem.Click += new System.EventHandler(this.toolStripMenuItem1_Click);
  491. //
  492. // menuItemCanvasBgColor
  493. //
  494. this.menuItemCanvasBgColor.Name = "menuItemCanvasBgColor";
  495. this.menuItemCanvasBgColor.Size = new System.Drawing.Size(124, 22);
  496. this.menuItemCanvasBgColor.Text = "画布背景";
  497. this.menuItemCanvasBgColor.Click += new System.EventHandler(this.toolStripMenuItem2_Click);
  498. //
  499. // menuItemCanvasSize
  500. //
  501. this.menuItemCanvasSize.Name = "menuItemCanvasSize";
  502. this.menuItemCanvasSize.Size = new System.Drawing.Size(124, 22);
  503. this.menuItemCanvasSize.Text = "画布尺寸";
  504. this.menuItemCanvasSize.Click += new System.EventHandler(this.toolStripMenuItem3_Click);
  505. //
  506. // printDocument1
  507. //
  508. this.printDocument1.OriginAtMargins = true;
  509. this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
  510. //
  511. // pageSetupDialog1
  512. //
  513. this.pageSetupDialog1.Document = this.printDocument1;
  514. this.pageSetupDialog1.MinMargins = new System.Drawing.Printing.Margins(0, 20, 0, 20);
  515. //
  516. // printPreviewDialog1
  517. //
  518. this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
  519. this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
  520. this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
  521. this.printPreviewDialog1.Document = this.printDocument1;
  522. this.printPreviewDialog1.Enabled = true;
  523. this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
  524. this.printPreviewDialog1.Name = "printPreviewDialog1";
  525. this.printPreviewDialog1.Visible = false;
  526. //
  527. // tlbtnreload
  528. //
  529. this.tlbtnreload.ImageIndex = 49;
  530. this.tlbtnreload.Name = "tlbtnreload";
  531. this.tlbtnreload.ToolTipText = "重置 开始新的绘制";
  532. //
  533. // mainView
  534. //
  535. this.mainView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  536. | System.Windows.Forms.AnchorStyles.Left)
  537. | System.Windows.Forms.AnchorStyles.Right)));
  538. this.mainView.BackColor = System.Drawing.Color.Lavender;
  539. this.mainView.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  540. this.mainView.ContextMenuStrip = this.cmsCanvasMenuItem;
  541. this.mainView.Location = new System.Drawing.Point(1, 92);
  542. this.mainView.Name = "mainView";
  543. this.mainView.Size = new System.Drawing.Size(782, 447);
  544. this.mainView.TabIndex = 7;
  545. this.mainView.ViewMatrix = matrix2;
  546. //
  547. // tlbtnSaveExplain
  548. //
  549. this.tlbtnSaveExplain.ImageIndex = 50;
  550. this.tlbtnSaveExplain.Name = "tlbtnSaveExplain";
  551. this.tlbtnSaveExplain.ToolTipText = "保存绘制完成的说明图片";
  552. //
  553. // toolBarButton2
  554. //
  555. this.toolBarButton2.Name = "toolBarButton2";
  556. this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
  557. //
  558. // frmMain
  559. //
  560. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  561. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  562. this.BackColor = System.Drawing.Color.LightSteelBlue;
  563. this.ClientSize = new System.Drawing.Size(784, 562);
  564. this.Controls.Add(this.GE_toolBar);
  565. this.Controls.Add(this.mainView);
  566. this.Controls.Add(this.GE_toolBar1);
  567. this.Controls.Add(this.GE_statusBar);
  568. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  569. this.Name = "frmMain";
  570. this.Text = "frmMain";
  571. this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.frmMain_KeyUp);
  572. ((System.ComponentModel.ISupportInitialize)(this.sbPanelTip)).EndInit();
  573. ((System.ComponentModel.ISupportInitialize)(this.sbPanelFont)).EndInit();
  574. ((System.ComponentModel.ISupportInitialize)(this.sbPanelViewScale)).EndInit();
  575. ((System.ComponentModel.ISupportInitialize)(this.sbPanelMousePos)).EndInit();
  576. this.cmsCanvasMenuItem.ResumeLayout(false);
  577. this.ResumeLayout(false);
  578. this.PerformLayout();
  579. }
  580. #endregion
  581. private MainView mainView;
  582. private System.Windows.Forms.ToolBar GE_toolBar1;
  583. private System.Windows.Forms.ToolBarButton tlBtnNew;
  584. private System.Windows.Forms.ToolBarButton tlBtnOpen;
  585. private System.Windows.Forms.ToolBarButton tlBtnSave;
  586. private System.Windows.Forms.ToolBarButton sp1;
  587. private System.Windows.Forms.ToolBarButton tlBtnSelect;
  588. private System.Windows.Forms.ToolBarButton tlBtnCopy;
  589. private System.Windows.Forms.ToolBarButton tlBtnCut;
  590. private System.Windows.Forms.ToolBarButton sp2;
  591. private System.Windows.Forms.ToolBarButton sp5;
  592. private System.Windows.Forms.ToolBarButton tlBtnUndo;
  593. private System.Windows.Forms.ToolBarButton tlBtnRedo;
  594. private System.Windows.Forms.ToolBarButton tlBtnFont;
  595. private System.Windows.Forms.ToolBarButton tlBtnColor;
  596. private System.Windows.Forms.ToolBarButton tlBtnPenWidth;
  597. private System.Windows.Forms.StatusBar GE_statusBar;
  598. private System.Windows.Forms.StatusBarPanel sbPanelTip;
  599. private System.Windows.Forms.StatusBarPanel sbPanelFont;
  600. private System.Windows.Forms.StatusBarPanel sbPanelViewScale;
  601. private System.Windows.Forms.StatusBarPanel sbPanelMousePos;
  602. private System.Windows.Forms.ToolBar GE_toolBar;
  603. private System.Windows.Forms.ToolBarButton tlBtnErase;
  604. private System.Windows.Forms.ToolBarButton sep2;
  605. private System.Windows.Forms.ToolBarButton tlBtnLine;
  606. private System.Windows.Forms.ToolBarButton tlBtnArrow;
  607. private System.Windows.Forms.ToolBarButton tlBtnLines;
  608. private System.Windows.Forms.ToolBarButton tlBtnFreehand;
  609. private System.Windows.Forms.ToolBarButton tlBtnFrameRect;
  610. private System.Windows.Forms.ToolBarButton tlBtnFillRect;
  611. private System.Windows.Forms.ToolBarButton tlBtnFrameEllipse;
  612. private System.Windows.Forms.ToolBarButton tlBtnFillEllipse;
  613. private System.Windows.Forms.ToolBarButton tlBtnImage;
  614. private System.Windows.Forms.ToolBarButton tlBtnText;
  615. private System.Windows.Forms.ToolBarButton sep3;
  616. private System.Windows.Forms.ToolBarButton tlBtnZoomIn;
  617. private System.Windows.Forms.ToolBarButton tlBtnZoomOut;
  618. private System.Windows.Forms.ToolBarButton tlBtnZoomResume;
  619. private System.Windows.Forms.ToolBarButton sep4;
  620. private System.Windows.Forms.ImageList GE_imageList;
  621. private System.Windows.Forms.ContextMenu muPenWidth;
  622. private System.Windows.Forms.ContextMenuStrip cmsCanvasMenuItem;
  623. private System.Windows.Forms.ToolStripMenuItem pasteMenuItem;
  624. private System.Windows.Forms.ToolStripMenuItem menuItemCanvasBgColor;
  625. private System.Windows.Forms.ToolStripMenuItem menuItemCanvasSize;
  626. private System.Drawing.Printing.PrintDocument printDocument1;
  627. private System.Windows.Forms.PageSetupDialog pageSetupDialog1;
  628. private System.Windows.Forms.PrintPreviewDialog printPreviewDialog1;
  629. private System.Windows.Forms.ToolBarButton tlbtnprintpreview;
  630. private System.Windows.Forms.ToolBarButton tlbtnprint;
  631. private System.Windows.Forms.ToolBarButton tlbtnprintSet;
  632. private System.Windows.Forms.ToolBarButton toolBarButton1;
  633. private System.Windows.Forms.ToolBarButton tlbtnExit;
  634. private System.Windows.Forms.ToolBarButton tlbtnSaves;
  635. private System.Windows.Forms.ToolBarButton tlbtnhand;
  636. private System.Windows.Forms.ToolBarButton tlbtnreload;
  637. private System.Windows.Forms.ToolBarButton tlbtnSaveExplain;
  638. private System.Windows.Forms.ToolBarButton toolBarButton2;
  639. }
  640. }