htmleditorcontrol.cs

来自「一个很好用的html编辑器。带源码」· CS 代码 · 共 1,178 行 · 第 1/5 页

CS
1,178
字号
			// 
			// toolBarUndo
			// 
			this.toolBarUndo.Enabled = ((bool)(resources.GetObject("toolBarUndo.Enabled")));
			this.toolBarUndo.ImageIndex = ((int)(resources.GetObject("toolBarUndo.ImageIndex")));
			this.toolBarUndo.Tag = "EditUndo";
			this.toolBarUndo.Text = resources.GetString("toolBarUndo.Text");
			this.toolBarUndo.ToolTipText = resources.GetString("toolBarUndo.ToolTipText");
			this.toolBarUndo.Visible = ((bool)(resources.GetObject("toolBarUndo.Visible")));
			// 
			// toolBarRedo
			// 
			this.toolBarRedo.Enabled = ((bool)(resources.GetObject("toolBarRedo.Enabled")));
			this.toolBarRedo.ImageIndex = ((int)(resources.GetObject("toolBarRedo.ImageIndex")));
			this.toolBarRedo.Tag = "EditRedo";
			this.toolBarRedo.Text = resources.GetString("toolBarRedo.Text");
			this.toolBarRedo.ToolTipText = resources.GetString("toolBarRedo.ToolTipText");
			this.toolBarRedo.Visible = ((bool)(resources.GetObject("toolBarRedo.Visible")));
			// 
			// toolBarEditSep2
			// 
			this.toolBarEditSep2.Enabled = ((bool)(resources.GetObject("toolBarEditSep2.Enabled")));
			this.toolBarEditSep2.ImageIndex = ((int)(resources.GetObject("toolBarEditSep2.ImageIndex")));
			this.toolBarEditSep2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
			this.toolBarEditSep2.Text = resources.GetString("toolBarEditSep2.Text");
			this.toolBarEditSep2.ToolTipText = resources.GetString("toolBarEditSep2.ToolTipText");
			this.toolBarEditSep2.Visible = ((bool)(resources.GetObject("toolBarEditSep2.Visible")));
			// 
			// toolBarBold
			// 
			this.toolBarBold.Enabled = ((bool)(resources.GetObject("toolBarBold.Enabled")));
			this.toolBarBold.ImageIndex = ((int)(resources.GetObject("toolBarBold.ImageIndex")));
			this.toolBarBold.Tag = "FormatBold";
			this.toolBarBold.Text = resources.GetString("toolBarBold.Text");
			this.toolBarBold.ToolTipText = resources.GetString("toolBarBold.ToolTipText");
			this.toolBarBold.Visible = ((bool)(resources.GetObject("toolBarBold.Visible")));
			// 
			// toolBarUnderline
			// 
			this.toolBarUnderline.Enabled = ((bool)(resources.GetObject("toolBarUnderline.Enabled")));
			this.toolBarUnderline.ImageIndex = ((int)(resources.GetObject("toolBarUnderline.ImageIndex")));
			this.toolBarUnderline.Tag = "FormatUnderline";
			this.toolBarUnderline.Text = resources.GetString("toolBarUnderline.Text");
			this.toolBarUnderline.ToolTipText = resources.GetString("toolBarUnderline.ToolTipText");
			this.toolBarUnderline.Visible = ((bool)(resources.GetObject("toolBarUnderline.Visible")));
			// 
			// toolBarItalic
			// 
			this.toolBarItalic.Enabled = ((bool)(resources.GetObject("toolBarItalic.Enabled")));
			this.toolBarItalic.ImageIndex = ((int)(resources.GetObject("toolBarItalic.ImageIndex")));
			this.toolBarItalic.Tag = "FormatItalic";
			this.toolBarItalic.Text = resources.GetString("toolBarItalic.Text");
			this.toolBarItalic.ToolTipText = resources.GetString("toolBarItalic.ToolTipText");
			this.toolBarItalic.Visible = ((bool)(resources.GetObject("toolBarItalic.Visible")));
			// 
			// toolBarFont
			// 
			this.toolBarFont.Enabled = ((bool)(resources.GetObject("toolBarFont.Enabled")));
			this.toolBarFont.ImageIndex = ((int)(resources.GetObject("toolBarFont.ImageIndex")));
			this.toolBarFont.Tag = "FontDialog";
			this.toolBarFont.Text = resources.GetString("toolBarFont.Text");
			this.toolBarFont.ToolTipText = resources.GetString("toolBarFont.ToolTipText");
			this.toolBarFont.Visible = ((bool)(resources.GetObject("toolBarFont.Visible")));
			// 
			// toolBarNormal
			// 
			this.toolBarNormal.Enabled = ((bool)(resources.GetObject("toolBarNormal.Enabled")));
			this.toolBarNormal.ImageIndex = ((int)(resources.GetObject("toolBarNormal.ImageIndex")));
			this.toolBarNormal.Tag = "FontNormal";
			this.toolBarNormal.Text = resources.GetString("toolBarNormal.Text");
			this.toolBarNormal.ToolTipText = resources.GetString("toolBarNormal.ToolTipText");
			this.toolBarNormal.Visible = ((bool)(resources.GetObject("toolBarNormal.Visible")));
			// 
			// toolBarColor
			// 
			this.toolBarColor.Enabled = ((bool)(resources.GetObject("toolBarColor.Enabled")));
			this.toolBarColor.ImageIndex = ((int)(resources.GetObject("toolBarColor.ImageIndex")));
			this.toolBarColor.Tag = "ColorDialog";
			this.toolBarColor.Text = resources.GetString("toolBarColor.Text");
			this.toolBarColor.ToolTipText = resources.GetString("toolBarColor.ToolTipText");
			this.toolBarColor.Visible = ((bool)(resources.GetObject("toolBarColor.Visible")));
			// 
			// toolBarFontUp
			// 
			this.toolBarFontUp.Enabled = ((bool)(resources.GetObject("toolBarFontUp.Enabled")));
			this.toolBarFontUp.ImageIndex = ((int)(resources.GetObject("toolBarFontUp.ImageIndex")));
			this.toolBarFontUp.Tag = "FontIncrease";
			this.toolBarFontUp.Text = resources.GetString("toolBarFontUp.Text");
			this.toolBarFontUp.ToolTipText = resources.GetString("toolBarFontUp.ToolTipText");
			this.toolBarFontUp.Visible = ((bool)(resources.GetObject("toolBarFontUp.Visible")));
			// 
			// toolBarFontDown
			// 
			this.toolBarFontDown.Enabled = ((bool)(resources.GetObject("toolBarFontDown.Enabled")));
			this.toolBarFontDown.ImageIndex = ((int)(resources.GetObject("toolBarFontDown.ImageIndex")));
			this.toolBarFontDown.Tag = "FontDecrease";
			this.toolBarFontDown.Text = resources.GetString("toolBarFontDown.Text");
			this.toolBarFontDown.ToolTipText = resources.GetString("toolBarFontDown.ToolTipText");
			this.toolBarFontDown.Visible = ((bool)(resources.GetObject("toolBarFontDown.Visible")));
			// 
			// toolBarEditSep3
			// 
			this.toolBarEditSep3.Enabled = ((bool)(resources.GetObject("toolBarEditSep3.Enabled")));
			this.toolBarEditSep3.ImageIndex = ((int)(resources.GetObject("toolBarEditSep3.ImageIndex")));
			this.toolBarEditSep3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
			this.toolBarEditSep3.Text = resources.GetString("toolBarEditSep3.Text");
			this.toolBarEditSep3.ToolTipText = resources.GetString("toolBarEditSep3.ToolTipText");
			this.toolBarEditSep3.Visible = ((bool)(resources.GetObject("toolBarEditSep3.Visible")));
			// 
			// toolBarJustLeft
			// 
			this.toolBarJustLeft.Enabled = ((bool)(resources.GetObject("toolBarJustLeft.Enabled")));
			this.toolBarJustLeft.ImageIndex = ((int)(resources.GetObject("toolBarJustLeft.ImageIndex")));
			this.toolBarJustLeft.Tag = "JustifyLeft";
			this.toolBarJustLeft.Text = resources.GetString("toolBarJustLeft.Text");
			this.toolBarJustLeft.ToolTipText = resources.GetString("toolBarJustLeft.ToolTipText");
			this.toolBarJustLeft.Visible = ((bool)(resources.GetObject("toolBarJustLeft.Visible")));
			// 
			// toolBarJustCenter
			// 
			this.toolBarJustCenter.Enabled = ((bool)(resources.GetObject("toolBarJustCenter.Enabled")));
			this.toolBarJustCenter.ImageIndex = ((int)(resources.GetObject("toolBarJustCenter.ImageIndex")));
			this.toolBarJustCenter.Tag = "JustifyCenter";
			this.toolBarJustCenter.Text = resources.GetString("toolBarJustCenter.Text");
			this.toolBarJustCenter.ToolTipText = resources.GetString("toolBarJustCenter.ToolTipText");
			this.toolBarJustCenter.Visible = ((bool)(resources.GetObject("toolBarJustCenter.Visible")));
			// 
			// toolBarJustRight
			// 
			this.toolBarJustRight.Enabled = ((bool)(resources.GetObject("toolBarJustRight.Enabled")));
			this.toolBarJustRight.ImageIndex = ((int)(resources.GetObject("toolBarJustRight.ImageIndex")));
			this.toolBarJustRight.Tag = "JustifyRight";
			this.toolBarJustRight.Text = resources.GetString("toolBarJustRight.Text");
			this.toolBarJustRight.ToolTipText = resources.GetString("toolBarJustRight.ToolTipText");
			this.toolBarJustRight.Visible = ((bool)(resources.GetObject("toolBarJustRight.Visible")));
			// 
			// toolBarIndent
			// 
			this.toolBarIndent.Enabled = ((bool)(resources.GetObject("toolBarIndent.Enabled")));
			this.toolBarIndent.ImageIndex = ((int)(resources.GetObject("toolBarIndent.ImageIndex")));
			this.toolBarIndent.Tag = "FontIndent";
			this.toolBarIndent.Text = resources.GetString("toolBarIndent.Text");
			this.toolBarIndent.ToolTipText = resources.GetString("toolBarIndent.ToolTipText");
			this.toolBarIndent.Visible = ((bool)(resources.GetObject("toolBarIndent.Visible")));
			// 
			// toolBarOutdent
			// 
			this.toolBarOutdent.Enabled = ((bool)(resources.GetObject("toolBarOutdent.Enabled")));
			this.toolBarOutdent.ImageIndex = ((int)(resources.GetObject("toolBarOutdent.ImageIndex")));
			this.toolBarOutdent.Tag = "FontOutdent";
			this.toolBarOutdent.Text = resources.GetString("toolBarOutdent.Text");
			this.toolBarOutdent.ToolTipText = resources.GetString("toolBarOutdent.ToolTipText");
			this.toolBarOutdent.Visible = ((bool)(resources.GetObject("toolBarOutdent.Visible")));
			// 
			// toolBarEditSep4
			// 
			this.toolBarEditSep4.Enabled = ((bool)(resources.GetObject("toolBarEditSep4.Enabled")));
			this.toolBarEditSep4.ImageIndex = ((int)(resources.GetObject("toolBarEditSep4.ImageIndex")));
			this.toolBarEditSep4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
			this.toolBarEditSep4.Text = resources.GetString("toolBarEditSep4.Text");
			this.toolBarEditSep4.ToolTipText = resources.GetString("toolBarEditSep4.ToolTipText");
			this.toolBarEditSep4.Visible = ((bool)(resources.GetObject("toolBarEditSep4.Visible")));
			// 
			// toolBarListOrdered
			// 
			this.toolBarListOrdered.Enabled = ((bool)(resources.GetObject("toolBarListOrdered.Enabled")));
			this.toolBarListOrdered.ImageIndex = ((int)(resources.GetObject("toolBarListOrdered.ImageIndex")));
			this.toolBarListOrdered.Tag = "ListOrdered";
			this.toolBarListOrdered.Text = resources.GetString("toolBarListOrdered.Text");
			this.toolBarListOrdered.ToolTipText = resources.GetString("toolBarListOrdered.ToolTipText");
			this.toolBarListOrdered.Visible = ((bool)(resources.GetObject("toolBarListOrdered.Visible")));
			// 
			// toolBarListUnordered
			// 
			this.toolBarListUnordered.Enabled = ((bool)(resources.GetObject("toolBarListUnordered.Enabled")));
			this.toolBarListUnordered.ImageIndex = ((int)(resources.GetObject("toolBarListUnordered.ImageIndex")));
			this.toolBarListUnordered.Tag = "ListUnordered";
			this.toolBarListUnordered.Text = resources.GetString("toolBarListUnordered.Text");
			this.toolBarListUnordered.ToolTipText = resources.GetString("toolBarListUnordered.ToolTipText");
			this.toolBarListUnordered.Visible = ((bool)(resources.GetObject("toolBarListUnordered.Visible")));
			// 
			// toolBarEditSep5
			// 
			this.toolBarEditSep5.Enabled = ((bool)(resources.GetObject("toolBarEditSep5.Enabled")));
			this.toolBarEditSep5.ImageIndex = ((int)(resources.GetObject("toolBarEditSep5.ImageIndex")));
			this.toolBarEditSep5.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
			this.toolBarEditSep5.Text = resources.GetString("toolBarEditSep5.Text");
			this.toolBarEditSep5.ToolTipText = resources.GetString("toolBarEditSep5.ToolTipText");
			this.toolBarEditSep5.Visible = ((bool)(resources.GetObject("toolBarEditSep5.Visible")));
			// 
			// toolBarInsertLine
			// 
			this.toolBarInsertLine.Enabled = ((bool)(resources.GetObject("toolBarInsertLine.Enabled")));
			this.toolBarInsertLine.ImageIndex = ((int)(resources.GetObject("toolBarInsertLine.ImageIndex")));
			this.toolBarInsertLine.Tag = "InsertLine";
			this.toolBarInsertLine.Text = resources.GetString("toolBarInsertLine.Text");
			this.toolBarInsertLine.ToolTipText = resources.GetString("toolBarInsertLine.ToolTipText");
			this.toolBarInsertLine.Visible = ((bool)(resources.GetObject("toolBarInsertLine.Visible")));
			// 
			// toolBarInsertTable
			// 
			this.toolBarInsertTable.Enabled = ((bool)(resources.GetObject("toolBarInsertTable.Enabled")));
			this.toolBarInsertTable.ImageIndex = ((int)(resources.GetObject("toolBarInsertTable.ImageIndex")));
			this.toolBarInsertTable.Tag = "InsertTable";
			this.toolBarInsertTable.Text = resources.GetString("toolBarInsertTable.Text");
			this.toolBarInsertTable.ToolTipText = resources.GetString("toolBarInsertTable.ToolTipText");
			this.toolBarInsertTable.Visible = ((bool)(resources.GetObject("toolBarInsertTable.Visible")));
			// 
			// toolBarInsertImage
			// 
			this.toolBarInsertImage.Enabled = ((bool)(resources.GetObject("toolBarInsertImage.Enabled")));
			this.toolBarInsertImage.ImageIndex = ((int)(resources.GetObject("toolBarInsertImage.ImageIndex")));
			this.toolBarInsertImage.Tag = "InsertImage";
			this.toolBarInsertImage.Text = resources.GetString("toolBarInsertImage.Text");
			this.toolBarInsertImage.ToolTipText = resources.GetString("toolBarInsertImage.ToolTipText");
			this.toolBarInsertImage.Visible = ((bool)(resources.GetObject("toolBarInsertImage.Visible")));
			// 
			// toolBarInsertLink
			// 
			this.toolBarInsertLink.Enabled = ((bool)(resources.GetObject("toolBarInsertLink.Enabled")));
			this.toolBarInsertLink.ImageIndex = ((int)(resources.GetObject("toolBarInsertLink.ImageIndex")));
			this.toolBarInsertLink.Tag = "InsertLink";
			this.toolBarInsertLink.Text = resources.GetString("toolBarInsertLink.Text");
			this.toolBarInsertLink.ToolTipText = resources.GetString("toolBarInsertLink.ToolTipText");
			this.toolBarInsertLink.Visible = ((bool)(resources.GetObject("toolBarInsertLink.Visible")));
			// 
			// toolBarEditSep6
			// 
			this.toolBarEditSep6.Enabled = ((bool)(resources.GetObject("toolBarEditSep6.Enabled")));
			this.toolBarEditSep6.ImageIndex = ((int)(resources.GetObject("toolBarEditSep6.ImageIndex")));
			this.toolBarEditSep6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
			this.toolBarEditSep6.Text = resources.GetString("toolBarEditSep6.Text");
			this.toolBarEditSep6.ToolTipText = resources.GetString("toolBarEditSep6.ToolTipText");
			this.toolBarEditSep6.Visible = ((bool)(resources.GetObject("toolBarEditSep6.Visible")));
			// 
			// toolBarFindReplace

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?