HtmlEditor.Designer.cs 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978
  1. namespace WinHtmlEditor
  2. {
  3. sealed partial class HtmlEditor
  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(HtmlEditor));
  30. this.tscMain = new System.Windows.Forms.ToolStripContainer();
  31. this.ssHtml = new System.Windows.Forms.StatusStrip();
  32. this.tsslWordCount = new System.Windows.Forms.ToolStripStatusLabel();
  33. this.wb = new System.Windows.Forms.WebBrowser();
  34. this.cmsHtml = new System.Windows.Forms.ContextMenuStrip(this.components);
  35. this.tsmiTable = new System.Windows.Forms.ToolStripMenuItem();
  36. this.tsmiTableModify = new System.Windows.Forms.ToolStripMenuItem();
  37. this.tsmiTableInsertRow = new System.Windows.Forms.ToolStripMenuItem();
  38. this.tsmiTableDeleteRow = new System.Windows.Forms.ToolStripMenuItem();
  39. this.tsmiSelectAll = new System.Windows.Forms.ToolStripMenuItem();
  40. this.tsmiCopy = new System.Windows.Forms.ToolStripMenuItem();
  41. this.tsmiCut = new System.Windows.Forms.ToolStripMenuItem();
  42. this.tsmiPaste = new System.Windows.Forms.ToolStripMenuItem();
  43. this.tsmiDelete = new System.Windows.Forms.ToolStripMenuItem();
  44. this.tsmiFind = new System.Windows.Forms.ToolStripMenuItem();
  45. this.tsmiRemoveFormat = new System.Windows.Forms.ToolStripMenuItem();
  46. this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
  47. this.tsmiSave = new System.Windows.Forms.ToolStripMenuItem();
  48. this.tsTopToolBar = new System.Windows.Forms.ToolStrip();
  49. this.tsfcbFontName = new WinHtmlEditor.ToolStripFontComboBox();
  50. this.tscbFontSize = new System.Windows.Forms.ToolStripComboBox();
  51. this.tsbNew = new System.Windows.Forms.ToolStripButton();
  52. this.tsbOpen = new System.Windows.Forms.ToolStripButton();
  53. this.tsbPrint = new System.Windows.Forms.ToolStripButton();
  54. this.tsbSave = new System.Windows.Forms.ToolStripButton();
  55. this.tsbPreview = new System.Windows.Forms.ToolStripButton();
  56. this.tsbShowHTML = new System.Windows.Forms.ToolStripButton();
  57. this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
  58. this.tsbCopy = new System.Windows.Forms.ToolStripButton();
  59. this.tsbCut = new System.Windows.Forms.ToolStripButton();
  60. this.tsbPaste = new System.Windows.Forms.ToolStripButton();
  61. this.tsbDelete = new System.Windows.Forms.ToolStripButton();
  62. this.tsbUndo = new System.Windows.Forms.ToolStripButton();
  63. this.tsbRedo = new System.Windows.Forms.ToolStripButton();
  64. this.tsbFind = new System.Windows.Forms.ToolStripButton();
  65. this.tsbRemoveFormat = new System.Windows.Forms.ToolStripButton();
  66. this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
  67. this.tsbJustifyCenter = new System.Windows.Forms.ToolStripButton();
  68. this.tsbJustifyFull = new System.Windows.Forms.ToolStripButton();
  69. this.tsbJustifyLeft = new System.Windows.Forms.ToolStripButton();
  70. this.tsbJustifyRight = new System.Windows.Forms.ToolStripButton();
  71. this.tsbUnderline = new System.Windows.Forms.ToolStripButton();
  72. this.tsbItalic = new System.Windows.Forms.ToolStripButton();
  73. this.tsbBold = new System.Windows.Forms.ToolStripButton();
  74. this.tscpBackColor = new WinHtmlEditor.ToolStripColorPicker();
  75. this.tscpForeColor = new WinHtmlEditor.ToolStripColorPicker();
  76. this.tsbStrikeThrough = new System.Windows.Forms.ToolStripButton();
  77. this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
  78. this.tsbCreateLink = new System.Windows.Forms.ToolStripButton();
  79. this.tsbUnlink = new System.Windows.Forms.ToolStripButton();
  80. this.tsddbInsertTable = new System.Windows.Forms.ToolStripDropDownButton();
  81. this.tsbInsertImage = new System.Windows.Forms.ToolStripButton();
  82. this.tsbInsertHorizontalRule = new System.Windows.Forms.ToolStripButton();
  83. this.tsbOutdent = new System.Windows.Forms.ToolStripButton();
  84. this.tsbIndent = new System.Windows.Forms.ToolStripButton();
  85. this.tsbInsertUnorderedList = new System.Windows.Forms.ToolStripButton();
  86. this.tsbInsertOrderedList = new System.Windows.Forms.ToolStripButton();
  87. this.tsbSuperscript = new System.Windows.Forms.ToolStripButton();
  88. this.tsbSubscript = new System.Windows.Forms.ToolStripButton();
  89. this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
  90. this.tsbWordCount = new System.Windows.Forms.ToolStripButton();
  91. this.tsbDate = new System.Windows.Forms.ToolStripButton();
  92. this.tsbTime = new System.Windows.Forms.ToolStripButton();
  93. this.tsbClearWord = new System.Windows.Forms.ToolStripButton();
  94. this.tsbAutoLayout = new System.Windows.Forms.ToolStripButton();
  95. this.tsbSpellCheck = new System.Windows.Forms.ToolStripButton();
  96. this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
  97. this.tsbAbout = new System.Windows.Forms.ToolStripButton();
  98. this.wordDictionary = new NetSpell.SpellChecker.Dictionary.WordDictionary(this.components);
  99. this.spellCheck = new NetSpell.SpellChecker.Spelling(this.components);
  100. this.tscMain.ContentPanel.SuspendLayout();
  101. this.tscMain.TopToolStripPanel.SuspendLayout();
  102. this.tscMain.SuspendLayout();
  103. this.ssHtml.SuspendLayout();
  104. this.cmsHtml.SuspendLayout();
  105. this.tsTopToolBar.SuspendLayout();
  106. this.SuspendLayout();
  107. //
  108. // tscMain
  109. //
  110. this.tscMain.BottomToolStripPanelVisible = false;
  111. //
  112. // tscMain.ContentPanel
  113. //
  114. this.tscMain.ContentPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
  115. this.tscMain.ContentPanel.Controls.Add(this.ssHtml);
  116. this.tscMain.ContentPanel.Controls.Add(this.wb);
  117. this.tscMain.ContentPanel.Size = new System.Drawing.Size(1296, 445);
  118. this.tscMain.Dock = System.Windows.Forms.DockStyle.Fill;
  119. this.tscMain.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  120. this.tscMain.LeftToolStripPanelVisible = false;
  121. this.tscMain.Location = new System.Drawing.Point(0, 0);
  122. this.tscMain.Name = "tscMain";
  123. this.tscMain.RightToolStripPanelVisible = false;
  124. this.tscMain.Size = new System.Drawing.Size(1296, 471);
  125. this.tscMain.TabIndex = 0;
  126. this.tscMain.Text = "toolStripContainer1";
  127. //
  128. // tscMain.TopToolStripPanel
  129. //
  130. this.tscMain.TopToolStripPanel.BackColor = System.Drawing.SystemColors.Control;
  131. this.tscMain.TopToolStripPanel.Controls.Add(this.tsTopToolBar);
  132. //
  133. // ssHtml
  134. //
  135. this.ssHtml.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  136. this.tsslWordCount});
  137. this.ssHtml.Location = new System.Drawing.Point(0, 419);
  138. this.ssHtml.Name = "ssHtml";
  139. this.ssHtml.Size = new System.Drawing.Size(1292, 22);
  140. this.ssHtml.TabIndex = 1;
  141. this.ssHtml.Text = "statusStrip1";
  142. //
  143. // tsslWordCount
  144. //
  145. this.tsslWordCount.Name = "tsslWordCount";
  146. this.tsslWordCount.Size = new System.Drawing.Size(53, 17);
  147. this.tsslWordCount.Text = "字数统计";
  148. //
  149. // wb
  150. //
  151. this.wb.ContextMenuStrip = this.cmsHtml;
  152. this.wb.Dock = System.Windows.Forms.DockStyle.Fill;
  153. this.wb.Location = new System.Drawing.Point(0, 0);
  154. this.wb.MinimumSize = new System.Drawing.Size(20, 20);
  155. this.wb.Name = "wb";
  156. this.wb.Size = new System.Drawing.Size(1292, 441);
  157. this.wb.TabIndex = 0;
  158. this.wb.Url = new System.Uri("http://-", System.UriKind.Absolute);
  159. this.wb.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.wb_DocumentCompleted);
  160. this.wb.Navigating += new System.Windows.Forms.WebBrowserNavigatingEventHandler(this.wb_Navigating);
  161. //
  162. // cmsHtml
  163. //
  164. this.cmsHtml.AllowDrop = true;
  165. this.cmsHtml.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  166. this.tsmiTable,
  167. this.tsmiSelectAll,
  168. this.tsmiCopy,
  169. this.tsmiCut,
  170. this.tsmiPaste,
  171. this.tsmiDelete,
  172. this.tsmiFind,
  173. this.tsmiRemoveFormat,
  174. this.toolStripSeparator5,
  175. this.tsmiSave});
  176. this.cmsHtml.Name = "contextMenuWeb";
  177. this.cmsHtml.Size = new System.Drawing.Size(153, 230);
  178. //
  179. // tsmiTable
  180. //
  181. this.tsmiTable.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  182. this.tsmiTableModify,
  183. this.tsmiTableInsertRow,
  184. this.tsmiTableDeleteRow});
  185. this.tsmiTable.Name = "tsmiTable";
  186. this.tsmiTable.Size = new System.Drawing.Size(152, 22);
  187. this.tsmiTable.Tag = "Table";
  188. this.tsmiTable.Text = "表格";
  189. //
  190. // tsmiTableModify
  191. //
  192. this.tsmiTableModify.Image = global::WinHtmlEditor.Properties.Resources.InsertTable;
  193. this.tsmiTableModify.Name = "tsmiTableModify";
  194. this.tsmiTableModify.Size = new System.Drawing.Size(142, 22);
  195. this.tsmiTableModify.Tag = "TableModify";
  196. this.tsmiTableModify.Text = "编辑表格属性";
  197. this.tsmiTableModify.Click += new System.EventHandler(this.ContextEditorClick);
  198. //
  199. // tsmiTableInsertRow
  200. //
  201. this.tsmiTableInsertRow.Name = "tsmiTableInsertRow";
  202. this.tsmiTableInsertRow.Size = new System.Drawing.Size(142, 22);
  203. this.tsmiTableInsertRow.Tag = "TableInsertRow";
  204. this.tsmiTableInsertRow.Text = "插入行";
  205. this.tsmiTableInsertRow.Click += new System.EventHandler(this.ContextEditorClick);
  206. //
  207. // tsmiTableDeleteRow
  208. //
  209. this.tsmiTableDeleteRow.Name = "tsmiTableDeleteRow";
  210. this.tsmiTableDeleteRow.Size = new System.Drawing.Size(142, 22);
  211. this.tsmiTableDeleteRow.Tag = "TableDeleteRow";
  212. this.tsmiTableDeleteRow.Text = "删除行";
  213. this.tsmiTableDeleteRow.Click += new System.EventHandler(this.ContextEditorClick);
  214. //
  215. // tsmiSelectAll
  216. //
  217. this.tsmiSelectAll.Name = "tsmiSelectAll";
  218. this.tsmiSelectAll.Size = new System.Drawing.Size(152, 22);
  219. this.tsmiSelectAll.Tag = "SelectAll";
  220. this.tsmiSelectAll.Text = "全选";
  221. this.tsmiSelectAll.Click += new System.EventHandler(this.ContextEditorClick);
  222. //
  223. // tsmiCopy
  224. //
  225. this.tsmiCopy.Image = global::WinHtmlEditor.Properties.Resources.Copy;
  226. this.tsmiCopy.Name = "tsmiCopy";
  227. this.tsmiCopy.Size = new System.Drawing.Size(152, 22);
  228. this.tsmiCopy.Tag = "Copy";
  229. this.tsmiCopy.Text = "复制";
  230. this.tsmiCopy.Click += new System.EventHandler(this.ContextEditorClick);
  231. //
  232. // tsmiCut
  233. //
  234. this.tsmiCut.Image = global::WinHtmlEditor.Properties.Resources.Cut;
  235. this.tsmiCut.Name = "tsmiCut";
  236. this.tsmiCut.Size = new System.Drawing.Size(152, 22);
  237. this.tsmiCut.Tag = "Cut";
  238. this.tsmiCut.Text = "剪切";
  239. this.tsmiCut.Click += new System.EventHandler(this.ContextEditorClick);
  240. //
  241. // tsmiPaste
  242. //
  243. this.tsmiPaste.Image = global::WinHtmlEditor.Properties.Resources.Paste;
  244. this.tsmiPaste.Name = "tsmiPaste";
  245. this.tsmiPaste.Size = new System.Drawing.Size(152, 22);
  246. this.tsmiPaste.Tag = "Paste";
  247. this.tsmiPaste.Text = "粘贴";
  248. this.tsmiPaste.Click += new System.EventHandler(this.ContextEditorClick);
  249. //
  250. // tsmiDelete
  251. //
  252. this.tsmiDelete.Image = global::WinHtmlEditor.Properties.Resources.Delete;
  253. this.tsmiDelete.Name = "tsmiDelete";
  254. this.tsmiDelete.Size = new System.Drawing.Size(152, 22);
  255. this.tsmiDelete.Tag = "Delete";
  256. this.tsmiDelete.Text = "删除";
  257. this.tsmiDelete.Click += new System.EventHandler(this.ContextEditorClick);
  258. //
  259. // tsmiFind
  260. //
  261. this.tsmiFind.Image = global::WinHtmlEditor.Properties.Resources.Find;
  262. this.tsmiFind.Name = "tsmiFind";
  263. this.tsmiFind.Size = new System.Drawing.Size(152, 22);
  264. this.tsmiFind.Tag = "Find";
  265. this.tsmiFind.Text = "查找";
  266. this.tsmiFind.Click += new System.EventHandler(this.ContextEditorClick);
  267. //
  268. // tsmiRemoveFormat
  269. //
  270. this.tsmiRemoveFormat.Image = global::WinHtmlEditor.Properties.Resources.RemoveFormat;
  271. this.tsmiRemoveFormat.Name = "tsmiRemoveFormat";
  272. this.tsmiRemoveFormat.Size = new System.Drawing.Size(152, 22);
  273. this.tsmiRemoveFormat.Tag = "RemoveFormat";
  274. this.tsmiRemoveFormat.Text = "清除格式";
  275. this.tsmiRemoveFormat.Click += new System.EventHandler(this.ContextEditorClick);
  276. //
  277. // toolStripSeparator5
  278. //
  279. this.toolStripSeparator5.Name = "toolStripSeparator5";
  280. this.toolStripSeparator5.Size = new System.Drawing.Size(149, 6);
  281. //
  282. // tsmiSave
  283. //
  284. this.tsmiSave.Image = global::WinHtmlEditor.Properties.Resources.Save;
  285. this.tsmiSave.Name = "tsmiSave";
  286. this.tsmiSave.Size = new System.Drawing.Size(152, 22);
  287. this.tsmiSave.Tag = "Save";
  288. this.tsmiSave.Text = "保存";
  289. this.tsmiSave.Click += new System.EventHandler(this.ContextEditorClick);
  290. //
  291. // tsTopToolBar
  292. //
  293. this.tsTopToolBar.Dock = System.Windows.Forms.DockStyle.None;
  294. this.tsTopToolBar.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
  295. this.tsTopToolBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  296. this.tsfcbFontName,
  297. this.tscbFontSize,
  298. this.tsbNew,
  299. this.tsbOpen,
  300. this.tsbPrint,
  301. this.tsbSave,
  302. this.tsbPreview,
  303. this.tsbShowHTML,
  304. this.toolStripSeparator1,
  305. this.tsbCopy,
  306. this.tsbCut,
  307. this.tsbPaste,
  308. this.tsbDelete,
  309. this.tsbUndo,
  310. this.tsbRedo,
  311. this.tsbFind,
  312. this.tsbRemoveFormat,
  313. this.toolStripSeparator2,
  314. this.tsbJustifyCenter,
  315. this.tsbJustifyFull,
  316. this.tsbJustifyLeft,
  317. this.tsbJustifyRight,
  318. this.tsbUnderline,
  319. this.tsbItalic,
  320. this.tsbBold,
  321. this.tscpBackColor,
  322. this.tscpForeColor,
  323. this.tsbStrikeThrough,
  324. this.toolStripSeparator3,
  325. this.tsbCreateLink,
  326. this.tsbUnlink,
  327. this.tsddbInsertTable,
  328. this.tsbInsertImage,
  329. this.tsbInsertHorizontalRule,
  330. this.tsbOutdent,
  331. this.tsbIndent,
  332. this.tsbInsertUnorderedList,
  333. this.tsbInsertOrderedList,
  334. this.tsbSuperscript,
  335. this.tsbSubscript,
  336. this.toolStripSeparator4,
  337. this.tsbWordCount,
  338. this.tsbDate,
  339. this.tsbTime,
  340. this.tsbClearWord,
  341. this.tsbAutoLayout,
  342. this.tsbSpellCheck,
  343. this.toolStripSeparator6,
  344. this.tsbAbout});
  345. this.tsTopToolBar.Location = new System.Drawing.Point(3, 0);
  346. this.tsTopToolBar.Name = "tsTopToolBar";
  347. this.tsTopToolBar.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
  348. this.tsTopToolBar.Size = new System.Drawing.Size(1293, 26);
  349. this.tsTopToolBar.TabIndex = 0;
  350. this.tsTopToolBar.Text = "topToolBar";
  351. //
  352. // tsfcbFontName
  353. //
  354. this.tsfcbFontName.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
  355. this.tsfcbFontName.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
  356. this.tsfcbFontName.InternalCall = false;
  357. this.tsfcbFontName.Name = "tsfcbFontName";
  358. this.tsfcbFontName.SelectedFontItem = null;
  359. this.tsfcbFontName.SelectedFontNameItem = "";
  360. this.tsfcbFontName.Size = new System.Drawing.Size(200, 26);
  361. this.tsfcbFontName.Tag = "FontName";
  362. this.tsfcbFontName.SelectedIndexChanged += new System.EventHandler(this.tsfcbFontName_SelectedIndexChanged);
  363. //
  364. // tscbFontSize
  365. //
  366. this.tscbFontSize.Name = "tscbFontSize";
  367. this.tscbFontSize.Size = new System.Drawing.Size(75, 26);
  368. this.tscbFontSize.Tag = "FontSize";
  369. this.tscbFontSize.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tscbFontSize_KeyPress);
  370. //
  371. // tsbNew
  372. //
  373. this.tsbNew.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  374. this.tsbNew.Image = global::WinHtmlEditor.Properties.Resources.New;
  375. this.tsbNew.ImageTransparentColor = System.Drawing.Color.Magenta;
  376. this.tsbNew.Name = "tsbNew";
  377. this.tsbNew.Size = new System.Drawing.Size(23, 23);
  378. this.tsbNew.Tag = "New";
  379. this.tsbNew.Text = "新建";
  380. this.tsbNew.Click += new System.EventHandler(this.tsbNew_Click);
  381. //
  382. // tsbOpen
  383. //
  384. this.tsbOpen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  385. this.tsbOpen.Image = global::WinHtmlEditor.Properties.Resources.Open;
  386. this.tsbOpen.ImageTransparentColor = System.Drawing.Color.Magenta;
  387. this.tsbOpen.Name = "tsbOpen";
  388. this.tsbOpen.Size = new System.Drawing.Size(23, 23);
  389. this.tsbOpen.Tag = "Open";
  390. this.tsbOpen.Text = "打开文件";
  391. this.tsbOpen.Click += new System.EventHandler(this.tsbOpen_Click);
  392. //
  393. // tsbPrint
  394. //
  395. this.tsbPrint.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  396. this.tsbPrint.Image = global::WinHtmlEditor.Properties.Resources.Print;
  397. this.tsbPrint.ImageTransparentColor = System.Drawing.Color.Magenta;
  398. this.tsbPrint.Name = "tsbPrint";
  399. this.tsbPrint.Size = new System.Drawing.Size(23, 23);
  400. this.tsbPrint.Tag = "Print";
  401. this.tsbPrint.Text = "打印";
  402. this.tsbPrint.Click += new System.EventHandler(this.tsbPrint_Click);
  403. //
  404. // tsbSave
  405. //
  406. this.tsbSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  407. this.tsbSave.Image = global::WinHtmlEditor.Properties.Resources.Save;
  408. this.tsbSave.ImageTransparentColor = System.Drawing.Color.Magenta;
  409. this.tsbSave.Name = "tsbSave";
  410. this.tsbSave.Size = new System.Drawing.Size(23, 23);
  411. this.tsbSave.Tag = "Save";
  412. this.tsbSave.Text = "保存为文件";
  413. this.tsbSave.Click += new System.EventHandler(this.tsbSave_Click);
  414. //
  415. // tsbPreview
  416. //
  417. this.tsbPreview.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  418. this.tsbPreview.Image = global::WinHtmlEditor.Properties.Resources.Preview;
  419. this.tsbPreview.ImageTransparentColor = System.Drawing.Color.Magenta;
  420. this.tsbPreview.Name = "tsbPreview";
  421. this.tsbPreview.Size = new System.Drawing.Size(23, 23);
  422. this.tsbPreview.Tag = "Preview";
  423. this.tsbPreview.Text = "预览";
  424. this.tsbPreview.Click += new System.EventHandler(this.tsbPreview_Click);
  425. //
  426. // tsbShowHTML
  427. //
  428. this.tsbShowHTML.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  429. this.tsbShowHTML.Image = global::WinHtmlEditor.Properties.Resources.ShowHTML;
  430. this.tsbShowHTML.ImageTransparentColor = System.Drawing.Color.Magenta;
  431. this.tsbShowHTML.Name = "tsbShowHTML";
  432. this.tsbShowHTML.Size = new System.Drawing.Size(23, 23);
  433. this.tsbShowHTML.Tag = "ShowHTML";
  434. this.tsbShowHTML.Text = "查看HTML代码";
  435. this.tsbShowHTML.Click += new System.EventHandler(this.tsbShowHTML_Click);
  436. //
  437. // toolStripSeparator1
  438. //
  439. this.toolStripSeparator1.Name = "toolStripSeparator1";
  440. this.toolStripSeparator1.Size = new System.Drawing.Size(6, 26);
  441. //
  442. // tsbCopy
  443. //
  444. this.tsbCopy.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  445. this.tsbCopy.Image = global::WinHtmlEditor.Properties.Resources.Copy;
  446. this.tsbCopy.ImageTransparentColor = System.Drawing.Color.Magenta;
  447. this.tsbCopy.Name = "tsbCopy";
  448. this.tsbCopy.Size = new System.Drawing.Size(23, 23);
  449. this.tsbCopy.Tag = "Copy";
  450. this.tsbCopy.Text = "复制";
  451. this.tsbCopy.Click += new System.EventHandler(this.tsbCopy_Click);
  452. //
  453. // tsbCut
  454. //
  455. this.tsbCut.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  456. this.tsbCut.Image = global::WinHtmlEditor.Properties.Resources.Cut;
  457. this.tsbCut.ImageTransparentColor = System.Drawing.Color.Magenta;
  458. this.tsbCut.Name = "tsbCut";
  459. this.tsbCut.Size = new System.Drawing.Size(23, 23);
  460. this.tsbCut.Tag = "Cut";
  461. this.tsbCut.Text = "剪切";
  462. this.tsbCut.Click += new System.EventHandler(this.tsbCut_Click);
  463. //
  464. // tsbPaste
  465. //
  466. this.tsbPaste.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  467. this.tsbPaste.Image = global::WinHtmlEditor.Properties.Resources.Paste;
  468. this.tsbPaste.ImageTransparentColor = System.Drawing.Color.Magenta;
  469. this.tsbPaste.Name = "tsbPaste";
  470. this.tsbPaste.Size = new System.Drawing.Size(23, 23);
  471. this.tsbPaste.Tag = "Paste";
  472. this.tsbPaste.Text = "粘贴";
  473. this.tsbPaste.Click += new System.EventHandler(this.tsbPaste_Click);
  474. //
  475. // tsbDelete
  476. //
  477. this.tsbDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  478. this.tsbDelete.Image = global::WinHtmlEditor.Properties.Resources.Delete;
  479. this.tsbDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
  480. this.tsbDelete.Name = "tsbDelete";
  481. this.tsbDelete.Size = new System.Drawing.Size(23, 23);
  482. this.tsbDelete.Tag = "Delete";
  483. this.tsbDelete.Text = "删除";
  484. this.tsbDelete.Click += new System.EventHandler(this.tsbDelete_Click);
  485. //
  486. // tsbUndo
  487. //
  488. this.tsbUndo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  489. this.tsbUndo.Image = global::WinHtmlEditor.Properties.Resources.Undo;
  490. this.tsbUndo.ImageTransparentColor = System.Drawing.Color.Magenta;
  491. this.tsbUndo.Name = "tsbUndo";
  492. this.tsbUndo.Size = new System.Drawing.Size(23, 23);
  493. this.tsbUndo.Tag = "Undo";
  494. this.tsbUndo.Text = "撤销";
  495. this.tsbUndo.Click += new System.EventHandler(this.tsbUndo_Click);
  496. //
  497. // tsbRedo
  498. //
  499. this.tsbRedo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  500. this.tsbRedo.Image = global::WinHtmlEditor.Properties.Resources.Redo;
  501. this.tsbRedo.ImageTransparentColor = System.Drawing.Color.Magenta;
  502. this.tsbRedo.Name = "tsbRedo";
  503. this.tsbRedo.Size = new System.Drawing.Size(23, 23);
  504. this.tsbRedo.Tag = "Redo";
  505. this.tsbRedo.Text = "重做";
  506. this.tsbRedo.Click += new System.EventHandler(this.tsbRedo_Click);
  507. //
  508. // tsbFind
  509. //
  510. this.tsbFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  511. this.tsbFind.Image = global::WinHtmlEditor.Properties.Resources.Find;
  512. this.tsbFind.ImageTransparentColor = System.Drawing.Color.Magenta;
  513. this.tsbFind.Name = "tsbFind";
  514. this.tsbFind.Size = new System.Drawing.Size(23, 23);
  515. this.tsbFind.Tag = "Find";
  516. this.tsbFind.Text = "查找";
  517. this.tsbFind.Click += new System.EventHandler(this.tsbFind_Click);
  518. //
  519. // tsbRemoveFormat
  520. //
  521. this.tsbRemoveFormat.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  522. this.tsbRemoveFormat.Image = global::WinHtmlEditor.Properties.Resources.RemoveFormat;
  523. this.tsbRemoveFormat.ImageTransparentColor = System.Drawing.Color.Magenta;
  524. this.tsbRemoveFormat.Name = "tsbRemoveFormat";
  525. this.tsbRemoveFormat.Size = new System.Drawing.Size(23, 23);
  526. this.tsbRemoveFormat.Tag = "RemoveFormat";
  527. this.tsbRemoveFormat.Text = "清除格式";
  528. this.tsbRemoveFormat.Click += new System.EventHandler(this.tsbRemoveFormat_Click);
  529. //
  530. // toolStripSeparator2
  531. //
  532. this.toolStripSeparator2.Name = "toolStripSeparator2";
  533. this.toolStripSeparator2.Size = new System.Drawing.Size(6, 26);
  534. //
  535. // tsbJustifyCenter
  536. //
  537. this.tsbJustifyCenter.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  538. this.tsbJustifyCenter.Image = global::WinHtmlEditor.Properties.Resources.JustifyCenter;
  539. this.tsbJustifyCenter.ImageTransparentColor = System.Drawing.Color.Magenta;
  540. this.tsbJustifyCenter.Name = "tsbJustifyCenter";
  541. this.tsbJustifyCenter.Size = new System.Drawing.Size(23, 23);
  542. this.tsbJustifyCenter.Tag = "JustifyCenter";
  543. this.tsbJustifyCenter.Text = "居中对齐0";
  544. this.tsbJustifyCenter.Click += new System.EventHandler(this.tsbJustifyCenter_Click);
  545. //
  546. // tsbJustifyFull
  547. //
  548. this.tsbJustifyFull.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  549. this.tsbJustifyFull.Image = global::WinHtmlEditor.Properties.Resources.JustifyFull;
  550. this.tsbJustifyFull.ImageTransparentColor = System.Drawing.Color.Magenta;
  551. this.tsbJustifyFull.Name = "tsbJustifyFull";
  552. this.tsbJustifyFull.Size = new System.Drawing.Size(23, 23);
  553. this.tsbJustifyFull.Tag = "JustifyFull";
  554. this.tsbJustifyFull.Text = "两端对齐";
  555. this.tsbJustifyFull.Click += new System.EventHandler(this.tsbJustifyFull_Click);
  556. //
  557. // tsbJustifyLeft
  558. //
  559. this.tsbJustifyLeft.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  560. this.tsbJustifyLeft.Image = global::WinHtmlEditor.Properties.Resources.JustifyLeft;
  561. this.tsbJustifyLeft.ImageTransparentColor = System.Drawing.Color.Magenta;
  562. this.tsbJustifyLeft.Name = "tsbJustifyLeft";
  563. this.tsbJustifyLeft.Size = new System.Drawing.Size(23, 23);
  564. this.tsbJustifyLeft.Tag = "JustifyLeft";
  565. this.tsbJustifyLeft.Text = "左对齐";
  566. this.tsbJustifyLeft.Click += new System.EventHandler(this.tsbJustifyLeft_Click);
  567. //
  568. // tsbJustifyRight
  569. //
  570. this.tsbJustifyRight.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  571. this.tsbJustifyRight.Image = global::WinHtmlEditor.Properties.Resources.JustifyRight;
  572. this.tsbJustifyRight.ImageTransparentColor = System.Drawing.Color.Magenta;
  573. this.tsbJustifyRight.Name = "tsbJustifyRight";
  574. this.tsbJustifyRight.Size = new System.Drawing.Size(23, 23);
  575. this.tsbJustifyRight.Tag = "JustifyRight";
  576. this.tsbJustifyRight.Text = "右对齐";
  577. this.tsbJustifyRight.Click += new System.EventHandler(this.tsbJustifyRight_Click);
  578. //
  579. // tsbUnderline
  580. //
  581. this.tsbUnderline.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  582. this.tsbUnderline.Image = global::WinHtmlEditor.Properties.Resources.Underline;
  583. this.tsbUnderline.ImageTransparentColor = System.Drawing.Color.Magenta;
  584. this.tsbUnderline.Name = "tsbUnderline";
  585. this.tsbUnderline.Size = new System.Drawing.Size(23, 23);
  586. this.tsbUnderline.Tag = "Underline";
  587. this.tsbUnderline.Text = "下划线";
  588. this.tsbUnderline.Click += new System.EventHandler(this.tsbUnderline_Click);
  589. //
  590. // tsbItalic
  591. //
  592. this.tsbItalic.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  593. this.tsbItalic.Image = global::WinHtmlEditor.Properties.Resources.Italic;
  594. this.tsbItalic.ImageTransparentColor = System.Drawing.Color.Magenta;
  595. this.tsbItalic.Name = "tsbItalic";
  596. this.tsbItalic.Size = new System.Drawing.Size(23, 23);
  597. this.tsbItalic.Tag = "Italic";
  598. this.tsbItalic.Text = "斜体";
  599. this.tsbItalic.Click += new System.EventHandler(this.tsbItalic_Click);
  600. //
  601. // tsbBold
  602. //
  603. this.tsbBold.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  604. this.tsbBold.Image = global::WinHtmlEditor.Properties.Resources.Bold;
  605. this.tsbBold.ImageTransparentColor = System.Drawing.Color.Magenta;
  606. this.tsbBold.Name = "tsbBold";
  607. this.tsbBold.Size = new System.Drawing.Size(23, 23);
  608. this.tsbBold.Tag = "Bold";
  609. this.tsbBold.Text = "粗体";
  610. this.tsbBold.Click += new System.EventHandler(this.tsbBold_Click);
  611. //
  612. // tscpBackColor
  613. //
  614. this.tscpBackColor.AutoSize = false;
  615. this.tscpBackColor.ButtonDisplayStyle = WinHtmlEditor.ToolStripColorPickerDisplayType.UnderLineAndImage;
  616. this.tscpBackColor.Color = System.Drawing.Color.White;
  617. this.tscpBackColor.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  618. this.tscpBackColor.Image = ((System.Drawing.Image)(resources.GetObject("tscpBackColor.Image")));
  619. this.tscpBackColor.ImageTransparentColor = System.Drawing.Color.Magenta;
  620. this.tscpBackColor.Name = "tscpBackColor";
  621. this.tscpBackColor.Size = new System.Drawing.Size(30, 23);
  622. this.tscpBackColor.Tag = "BackColor";
  623. this.tscpBackColor.Text = "背景色";
  624. this.tscpBackColor.ToolTipText = "背景色";
  625. this.tscpBackColor.SelectedColorChanged += new System.EventHandler(this.tscpBackColor_SelectedColorChanged);
  626. this.tscpBackColor.ButtonClick += new System.EventHandler(this.tscpBackColor_SelectedColorChanged);
  627. //
  628. // tscpForeColor
  629. //
  630. this.tscpForeColor.AutoSize = false;
  631. this.tscpForeColor.ButtonDisplayStyle = WinHtmlEditor.ToolStripColorPickerDisplayType.UnderLineAndImage;
  632. this.tscpForeColor.Color = System.Drawing.Color.Black;
  633. this.tscpForeColor.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.None;
  634. this.tscpForeColor.Image = ((System.Drawing.Image)(resources.GetObject("tscpForeColor.Image")));
  635. this.tscpForeColor.ImageTransparentColor = System.Drawing.Color.Magenta;
  636. this.tscpForeColor.Name = "tscpForeColor";
  637. this.tscpForeColor.Size = new System.Drawing.Size(30, 23);
  638. this.tscpForeColor.Tag = "ForeColor";
  639. this.tscpForeColor.Text = "前景色";
  640. this.tscpForeColor.ToolTipText = "前景色";
  641. this.tscpForeColor.SelectedColorChanged += new System.EventHandler(this.tscpForeColor_SelectedColorChanged);
  642. this.tscpForeColor.ButtonClick += new System.EventHandler(this.tscpForeColor_SelectedColorChanged);
  643. //
  644. // tsbStrikeThrough
  645. //
  646. this.tsbStrikeThrough.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  647. this.tsbStrikeThrough.Image = global::WinHtmlEditor.Properties.Resources.StrikeThrough;
  648. this.tsbStrikeThrough.ImageTransparentColor = System.Drawing.Color.Magenta;
  649. this.tsbStrikeThrough.Name = "tsbStrikeThrough";
  650. this.tsbStrikeThrough.Size = new System.Drawing.Size(23, 23);
  651. this.tsbStrikeThrough.Tag = "StrikeThrough";
  652. this.tsbStrikeThrough.Text = "删除线";
  653. this.tsbStrikeThrough.Click += new System.EventHandler(this.tsbStrikeThrough_Click);
  654. //
  655. // toolStripSeparator3
  656. //
  657. this.toolStripSeparator3.Name = "toolStripSeparator3";
  658. this.toolStripSeparator3.Size = new System.Drawing.Size(6, 26);
  659. //
  660. // tsbCreateLink
  661. //
  662. this.tsbCreateLink.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  663. this.tsbCreateLink.Image = global::WinHtmlEditor.Properties.Resources.CreateLink;
  664. this.tsbCreateLink.ImageTransparentColor = System.Drawing.Color.Magenta;
  665. this.tsbCreateLink.Name = "tsbCreateLink";
  666. this.tsbCreateLink.Size = new System.Drawing.Size(23, 23);
  667. this.tsbCreateLink.Tag = "CreateLink";
  668. this.tsbCreateLink.Text = "超链接";
  669. this.tsbCreateLink.Click += new System.EventHandler(this.tsbCreateLink_Click);
  670. //
  671. // tsbUnlink
  672. //
  673. this.tsbUnlink.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  674. this.tsbUnlink.Image = global::WinHtmlEditor.Properties.Resources.Unlink;
  675. this.tsbUnlink.ImageTransparentColor = System.Drawing.Color.Magenta;
  676. this.tsbUnlink.Name = "tsbUnlink";
  677. this.tsbUnlink.Size = new System.Drawing.Size(23, 23);
  678. this.tsbUnlink.Tag = "Unlink";
  679. this.tsbUnlink.Text = "取消超链接";
  680. this.tsbUnlink.Click += new System.EventHandler(this.tsbUnlink_Click);
  681. //
  682. // tsddbInsertTable
  683. //
  684. this.tsddbInsertTable.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  685. this.tsddbInsertTable.Image = global::WinHtmlEditor.Properties.Resources.InsertTable;
  686. this.tsddbInsertTable.ImageTransparentColor = System.Drawing.Color.Magenta;
  687. this.tsddbInsertTable.Name = "tsddbInsertTable";
  688. this.tsddbInsertTable.Size = new System.Drawing.Size(29, 23);
  689. this.tsddbInsertTable.Tag = "InsertTable";
  690. this.tsddbInsertTable.Text = "插入表格";
  691. //
  692. // tsbInsertImage
  693. //
  694. this.tsbInsertImage.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  695. this.tsbInsertImage.Image = global::WinHtmlEditor.Properties.Resources.InsertImage;
  696. this.tsbInsertImage.ImageTransparentColor = System.Drawing.Color.Magenta;
  697. this.tsbInsertImage.Name = "tsbInsertImage";
  698. this.tsbInsertImage.Size = new System.Drawing.Size(23, 23);
  699. this.tsbInsertImage.Tag = "InsertImage";
  700. this.tsbInsertImage.Text = "插入图片";
  701. this.tsbInsertImage.Click += new System.EventHandler(this.tsbInsertImage_Click);
  702. //
  703. // tsbInsertHorizontalRule
  704. //
  705. this.tsbInsertHorizontalRule.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  706. this.tsbInsertHorizontalRule.Image = global::WinHtmlEditor.Properties.Resources.InsertHorizontalRule;
  707. this.tsbInsertHorizontalRule.ImageTransparentColor = System.Drawing.Color.Magenta;
  708. this.tsbInsertHorizontalRule.Name = "tsbInsertHorizontalRule";
  709. this.tsbInsertHorizontalRule.Size = new System.Drawing.Size(23, 23);
  710. this.tsbInsertHorizontalRule.Tag = "InsertHorizontalRule";
  711. this.tsbInsertHorizontalRule.Text = "插入水平线";
  712. this.tsbInsertHorizontalRule.Click += new System.EventHandler(this.tsbInsertHorizontalRule_Click);
  713. //
  714. // tsbOutdent
  715. //
  716. this.tsbOutdent.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  717. this.tsbOutdent.Image = global::WinHtmlEditor.Properties.Resources.Outdent;
  718. this.tsbOutdent.ImageTransparentColor = System.Drawing.Color.Magenta;
  719. this.tsbOutdent.Name = "tsbOutdent";
  720. this.tsbOutdent.Size = new System.Drawing.Size(23, 23);
  721. this.tsbOutdent.Tag = "Outdent";
  722. this.tsbOutdent.Text = "减少缩进";
  723. this.tsbOutdent.Click += new System.EventHandler(this.tsbOutdent_Click);
  724. //
  725. // tsbIndent
  726. //
  727. this.tsbIndent.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  728. this.tsbIndent.Image = global::WinHtmlEditor.Properties.Resources.Indent;
  729. this.tsbIndent.ImageTransparentColor = System.Drawing.Color.Magenta;
  730. this.tsbIndent.Name = "tsbIndent";
  731. this.tsbIndent.Size = new System.Drawing.Size(23, 23);
  732. this.tsbIndent.Tag = "Indent";
  733. this.tsbIndent.Text = "增加缩进";
  734. this.tsbIndent.Click += new System.EventHandler(this.tsbIndent_Click);
  735. //
  736. // tsbInsertUnorderedList
  737. //
  738. this.tsbInsertUnorderedList.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  739. this.tsbInsertUnorderedList.Image = global::WinHtmlEditor.Properties.Resources.InsertUnorderedList;
  740. this.tsbInsertUnorderedList.ImageTransparentColor = System.Drawing.Color.Magenta;
  741. this.tsbInsertUnorderedList.Name = "tsbInsertUnorderedList";
  742. this.tsbInsertUnorderedList.Size = new System.Drawing.Size(23, 23);
  743. this.tsbInsertUnorderedList.Tag = "InsertUnorderedList";
  744. this.tsbInsertUnorderedList.Text = "插入无序列表";
  745. this.tsbInsertUnorderedList.Click += new System.EventHandler(this.tsbInsertUnorderedList_Click);
  746. //
  747. // tsbInsertOrderedList
  748. //
  749. this.tsbInsertOrderedList.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  750. this.tsbInsertOrderedList.Image = global::WinHtmlEditor.Properties.Resources.InsertOrderedList;
  751. this.tsbInsertOrderedList.ImageTransparentColor = System.Drawing.Color.Magenta;
  752. this.tsbInsertOrderedList.Name = "tsbInsertOrderedList";
  753. this.tsbInsertOrderedList.Size = new System.Drawing.Size(23, 23);
  754. this.tsbInsertOrderedList.Tag = "InsertOrderedList";
  755. this.tsbInsertOrderedList.Text = "插入有序列表";
  756. this.tsbInsertOrderedList.Click += new System.EventHandler(this.tsbInsertOrderedList_Click);
  757. //
  758. // tsbSuperscript
  759. //
  760. this.tsbSuperscript.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  761. this.tsbSuperscript.Image = global::WinHtmlEditor.Properties.Resources.Superscript_;
  762. this.tsbSuperscript.ImageTransparentColor = System.Drawing.Color.Magenta;
  763. this.tsbSuperscript.Name = "tsbSuperscript";
  764. this.tsbSuperscript.Size = new System.Drawing.Size(23, 23);
  765. this.tsbSuperscript.Tag = "Superscript";
  766. this.tsbSuperscript.Text = "上标";
  767. this.tsbSuperscript.Click += new System.EventHandler(this.tsbSuperscript_Click);
  768. //
  769. // tsbSubscript
  770. //
  771. this.tsbSubscript.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  772. this.tsbSubscript.Image = global::WinHtmlEditor.Properties.Resources.Subscript_;
  773. this.tsbSubscript.ImageTransparentColor = System.Drawing.Color.Magenta;
  774. this.tsbSubscript.Name = "tsbSubscript";
  775. this.tsbSubscript.Size = new System.Drawing.Size(23, 23);
  776. this.tsbSubscript.Tag = "Subscript";
  777. this.tsbSubscript.Text = "下标";
  778. this.tsbSubscript.Click += new System.EventHandler(this.tsbSubscript_Click);
  779. //
  780. // toolStripSeparator4
  781. //
  782. this.toolStripSeparator4.Name = "toolStripSeparator4";
  783. this.toolStripSeparator4.Size = new System.Drawing.Size(6, 26);
  784. //
  785. // tsbWordCount
  786. //
  787. this.tsbWordCount.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  788. this.tsbWordCount.Image = global::WinHtmlEditor.Properties.Resources.wordcount;
  789. this.tsbWordCount.ImageTransparentColor = System.Drawing.Color.Magenta;
  790. this.tsbWordCount.Name = "tsbWordCount";
  791. this.tsbWordCount.Size = new System.Drawing.Size(23, 23);
  792. this.tsbWordCount.Tag = "WordCount";
  793. this.tsbWordCount.Text = "字数统计";
  794. this.tsbWordCount.Click += new System.EventHandler(this.tsbWordCount_Click);
  795. //
  796. // tsbDate
  797. //
  798. this.tsbDate.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  799. this.tsbDate.Image = global::WinHtmlEditor.Properties.Resources.Date;
  800. this.tsbDate.ImageTransparentColor = System.Drawing.Color.Magenta;
  801. this.tsbDate.Name = "tsbDate";
  802. this.tsbDate.Size = new System.Drawing.Size(23, 23);
  803. this.tsbDate.Tag = "InsertDate";
  804. this.tsbDate.Text = "日期";
  805. this.tsbDate.Click += new System.EventHandler(this.tsbDate_Click);
  806. //
  807. // tsbTime
  808. //
  809. this.tsbTime.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  810. this.tsbTime.Image = global::WinHtmlEditor.Properties.Resources.Time;
  811. this.tsbTime.ImageTransparentColor = System.Drawing.Color.Magenta;
  812. this.tsbTime.Name = "tsbTime";
  813. this.tsbTime.Size = new System.Drawing.Size(23, 23);
  814. this.tsbTime.Tag = "InsertTime";
  815. this.tsbTime.Text = "时间";
  816. this.tsbTime.Click += new System.EventHandler(this.tsbTime_Click);
  817. //
  818. // tsbClearWord
  819. //
  820. this.tsbClearWord.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  821. this.tsbClearWord.Image = global::WinHtmlEditor.Properties.Resources.Wordclean;
  822. this.tsbClearWord.ImageTransparentColor = System.Drawing.Color.Magenta;
  823. this.tsbClearWord.Name = "tsbClearWord";
  824. this.tsbClearWord.Size = new System.Drawing.Size(23, 23);
  825. this.tsbClearWord.Tag = "ClearWord";
  826. this.tsbClearWord.Text = "清除Word格式";
  827. this.tsbClearWord.Click += new System.EventHandler(this.tsbClearWord_Click);
  828. //
  829. // tsbAutoLayout
  830. //
  831. this.tsbAutoLayout.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  832. this.tsbAutoLayout.Image = global::WinHtmlEditor.Properties.Resources.AutoLayout;
  833. this.tsbAutoLayout.ImageTransparentColor = System.Drawing.Color.Magenta;
  834. this.tsbAutoLayout.Name = "tsbAutoLayout";
  835. this.tsbAutoLayout.Size = new System.Drawing.Size(23, 23);
  836. this.tsbAutoLayout.Tag = "AutoLayout";
  837. this.tsbAutoLayout.Text = "自动排版";
  838. this.tsbAutoLayout.Click += new System.EventHandler(this.tsbAutoLayout_Click);
  839. //
  840. // tsbSpellCheck
  841. //
  842. this.tsbSpellCheck.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  843. this.tsbSpellCheck.Image = global::WinHtmlEditor.Properties.Resources.SpellCheck;
  844. this.tsbSpellCheck.ImageTransparentColor = System.Drawing.Color.Magenta;
  845. this.tsbSpellCheck.Name = "tsbSpellCheck";
  846. this.tsbSpellCheck.Size = new System.Drawing.Size(23, 23);
  847. this.tsbSpellCheck.Tag = "SpellCheck";
  848. this.tsbSpellCheck.Text = "拼写检查";
  849. this.tsbSpellCheck.Click += new System.EventHandler(this.tsbSpellCheck_Click);
  850. //
  851. // toolStripSeparator6
  852. //
  853. this.toolStripSeparator6.Name = "toolStripSeparator6";
  854. this.toolStripSeparator6.Size = new System.Drawing.Size(6, 26);
  855. //
  856. // tsbAbout
  857. //
  858. this.tsbAbout.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  859. this.tsbAbout.Image = ((System.Drawing.Image)(resources.GetObject("tsbAbout.Image")));
  860. this.tsbAbout.ImageTransparentColor = System.Drawing.Color.Magenta;
  861. this.tsbAbout.Name = "tsbAbout";
  862. this.tsbAbout.Size = new System.Drawing.Size(23, 20);
  863. this.tsbAbout.Tag = "About";
  864. this.tsbAbout.Text = "关于";
  865. this.tsbAbout.Click += new System.EventHandler(this.tsbAbout_Click);
  866. //
  867. // wordDictionary
  868. //
  869. this.wordDictionary.DictionaryFile = "en-US.dic";
  870. this.wordDictionary.DictionaryFolder = "dic";
  871. //
  872. // spellCheck
  873. //
  874. this.spellCheck.Dictionary = this.wordDictionary;
  875. this.spellCheck.DeletedWord += new NetSpell.SpellChecker.Spelling.DeletedWordEventHandler(this.spellCheck_DeletedWord);
  876. this.spellCheck.ReplacedWord += new NetSpell.SpellChecker.Spelling.ReplacedWordEventHandler(this.spellCheck_ReplacedWord);
  877. //
  878. // HtmlEditor
  879. //
  880. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  881. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  882. this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
  883. this.Controls.Add(this.tscMain);
  884. this.Name = "HtmlEditor";
  885. this.Size = new System.Drawing.Size(1296, 471);
  886. this.Load += new System.EventHandler(this.HtmlEditor_Load);
  887. this.tscMain.ContentPanel.ResumeLayout(false);
  888. this.tscMain.ContentPanel.PerformLayout();
  889. this.tscMain.TopToolStripPanel.ResumeLayout(false);
  890. this.tscMain.TopToolStripPanel.PerformLayout();
  891. this.tscMain.ResumeLayout(false);
  892. this.tscMain.PerformLayout();
  893. this.ssHtml.ResumeLayout(false);
  894. this.ssHtml.PerformLayout();
  895. this.cmsHtml.ResumeLayout(false);
  896. this.tsTopToolBar.ResumeLayout(false);
  897. this.tsTopToolBar.PerformLayout();
  898. this.ResumeLayout(false);
  899. }
  900. #endregion
  901. private System.Windows.Forms.ToolStripContainer tscMain;
  902. private System.Windows.Forms.ToolStrip tsTopToolBar;
  903. private System.Windows.Forms.ToolStripButton tsbNew;
  904. private System.Windows.Forms.ToolStripButton tsbOpen;
  905. private System.Windows.Forms.ToolStripButton tsbSave;
  906. private System.Windows.Forms.ToolStripButton tsbShowHTML;
  907. private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
  908. private System.Windows.Forms.ToolStripButton tsbCopy;
  909. private System.Windows.Forms.ToolStripButton tsbCut;
  910. private System.Windows.Forms.ToolStripButton tsbPaste;
  911. private System.Windows.Forms.ToolStripButton tsbDelete;
  912. private System.Windows.Forms.ToolStripButton tsbFind;
  913. private System.Windows.Forms.ToolStripButton tsbRemoveFormat;
  914. private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
  915. private System.Windows.Forms.ToolStripButton tsbJustifyCenter;
  916. private System.Windows.Forms.ToolStripButton tsbJustifyFull;
  917. private System.Windows.Forms.ToolStripButton tsbJustifyLeft;
  918. private System.Windows.Forms.ToolStripButton tsbJustifyRight;
  919. private System.Windows.Forms.ToolStripButton tsbUnderline;
  920. private System.Windows.Forms.ToolStripButton tsbItalic;
  921. private System.Windows.Forms.ToolStripButton tsbBold;
  922. private System.Windows.Forms.ToolStripButton tsbStrikeThrough;
  923. private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
  924. private System.Windows.Forms.ToolStripButton tsbCreateLink;
  925. private System.Windows.Forms.ToolStripButton tsbUnlink;
  926. private System.Windows.Forms.ToolStripButton tsbInsertImage;
  927. private System.Windows.Forms.ToolStripButton tsbInsertHorizontalRule;
  928. private System.Windows.Forms.ToolStripButton tsbOutdent;
  929. private System.Windows.Forms.ToolStripButton tsbIndent;
  930. private System.Windows.Forms.ToolStripButton tsbInsertUnorderedList;
  931. private System.Windows.Forms.ToolStripButton tsbInsertOrderedList;
  932. private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
  933. private System.Windows.Forms.ContextMenuStrip cmsHtml;
  934. private System.Windows.Forms.ToolStripMenuItem tsmiSelectAll;
  935. private System.Windows.Forms.ToolStripMenuItem tsmiCopy;
  936. private System.Windows.Forms.ToolStripMenuItem tsmiCut;
  937. private System.Windows.Forms.ToolStripMenuItem tsmiPaste;
  938. private System.Windows.Forms.ToolStripMenuItem tsmiDelete;
  939. private System.Windows.Forms.ToolStripMenuItem tsmiFind;
  940. private System.Windows.Forms.ToolStripMenuItem tsmiRemoveFormat;
  941. private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
  942. private System.Windows.Forms.ToolStripMenuItem tsmiSave;
  943. private System.Windows.Forms.ToolStripButton tsbWordCount;
  944. private System.Windows.Forms.ToolStripButton tsbSuperscript;
  945. private System.Windows.Forms.ToolStripButton tsbSubscript;
  946. private System.Windows.Forms.ToolStripButton tsbPrint;
  947. private System.Windows.Forms.ToolStripButton tsbDate;
  948. private System.Windows.Forms.ToolStripButton tsbTime;
  949. private System.Windows.Forms.ToolStripButton tsbSpellCheck;
  950. private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
  951. private System.Windows.Forms.ToolStripButton tsbAbout;
  952. internal System.Windows.Forms.WebBrowser wb;
  953. private System.Windows.Forms.ToolStripButton tsbClearWord;
  954. private NetSpell.SpellChecker.Dictionary.WordDictionary wordDictionary;
  955. private NetSpell.SpellChecker.Spelling spellCheck;
  956. private ToolStripFontComboBox tsfcbFontName;
  957. private System.Windows.Forms.ToolStripComboBox tscbFontSize;
  958. private System.Windows.Forms.ToolStripButton tsbPreview;
  959. private System.Windows.Forms.ToolStripButton tsbAutoLayout;
  960. private System.Windows.Forms.ToolStripButton tsbUndo;
  961. private System.Windows.Forms.ToolStripButton tsbRedo;
  962. private System.Windows.Forms.ToolStripDropDownButton tsddbInsertTable;
  963. private System.Windows.Forms.ToolStripMenuItem tsmiTable;
  964. private System.Windows.Forms.ToolStripMenuItem tsmiTableModify;
  965. private System.Windows.Forms.ToolStripMenuItem tsmiTableInsertRow;
  966. private System.Windows.Forms.ToolStripMenuItem tsmiTableDeleteRow;
  967. private System.Windows.Forms.StatusStrip ssHtml;
  968. private System.Windows.Forms.ToolStripStatusLabel tsslWordCount;
  969. private ToolStripColorPicker tscpForeColor;
  970. private ToolStripColorPicker tscpBackColor;
  971. }
  972. }