298 lines
16 KiB
VB.net
298 lines
16 KiB
VB.net
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
|
Partial Class RichTextBoxEx
|
|
Inherits System.Windows.Forms.UserControl
|
|
|
|
'UserControl1 overrides dispose to clean up the component list.
|
|
<System.Diagnostics.DebuggerNonUserCode()> _
|
|
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
|
Try
|
|
If disposing AndAlso components IsNot Nothing Then
|
|
components.Dispose()
|
|
End If
|
|
Finally
|
|
MyBase.Dispose(disposing)
|
|
End Try
|
|
End Sub
|
|
|
|
'Required by the Windows Form Designer
|
|
Private components As System.ComponentModel.IContainer
|
|
|
|
'NOTE: The following procedure is required by the Windows Form Designer
|
|
'It can be modified using the Windows Form Designer.
|
|
'Do not modify it using the code editor.
|
|
<System.Diagnostics.DebuggerStepThrough()> _
|
|
Private Sub InitializeComponent()
|
|
Me.components = New System.ComponentModel.Container()
|
|
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(RichTextBoxEx))
|
|
Me.rtb = New System.Windows.Forms.RichTextBox()
|
|
Me.ToolStrip1 = New System.Windows.Forms.ToolStrip()
|
|
Me.NewToolStripButton = New System.Windows.Forms.ToolStripButton()
|
|
Me.OpenToolStripButton = New System.Windows.Forms.ToolStripButton()
|
|
Me.SaveToolStripButton = New System.Windows.Forms.ToolStripButton()
|
|
Me.PrintToolStripButton = New System.Windows.Forms.ToolStripButton()
|
|
Me.toolStripSeparator = New System.Windows.Forms.ToolStripSeparator()
|
|
Me.FontToolStripButton = New System.Windows.Forms.ToolStripButton()
|
|
Me.FontColorToolStripButton = New System.Windows.Forms.ToolStripButton()
|
|
Me.BoldToolStripButton = New System.Windows.Forms.ToolStripButton()
|
|
Me.UnderlineToolStripButton = New System.Windows.Forms.ToolStripButton()
|
|
Me.ToolStripSeparator4 = New System.Windows.Forms.ToolStripSeparator()
|
|
Me.LeftToolStripButton = New System.Windows.Forms.ToolStripButton()
|
|
Me.CenterToolStripButton = New System.Windows.Forms.ToolStripButton()
|
|
Me.RightToolStripButton = New System.Windows.Forms.ToolStripButton()
|
|
Me.ToolStripSeparator3 = New System.Windows.Forms.ToolStripSeparator()
|
|
Me.BulletsToolStripButton = New System.Windows.Forms.ToolStripButton()
|
|
Me.ToolStripSeparator2 = New System.Windows.Forms.ToolStripSeparator()
|
|
Me.CutToolStripButton = New System.Windows.Forms.ToolStripButton()
|
|
Me.CopyToolStripButton = New System.Windows.Forms.ToolStripButton()
|
|
Me.PasteToolStripButton = New System.Windows.Forms.ToolStripButton()
|
|
Me.toolStripSeparator1 = New System.Windows.Forms.ToolStripSeparator()
|
|
Me.SpellChecker = New NetSpell.SpellChecker.Spelling(Me.components)
|
|
Me.FontDlg = New System.Windows.Forms.FontDialog()
|
|
Me.ColorDlg = New System.Windows.Forms.ColorDialog()
|
|
Me.OpenFileDlg = New System.Windows.Forms.OpenFileDialog()
|
|
Me.SaveFileDlg = New System.Windows.Forms.SaveFileDialog()
|
|
Me.ToolStrip1.SuspendLayout()
|
|
Me.SuspendLayout()
|
|
'
|
|
'rtb
|
|
'
|
|
Me.rtb.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
|
|
Or System.Windows.Forms.AnchorStyles.Left) _
|
|
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
|
Me.rtb.Location = New System.Drawing.Point(0, 25)
|
|
Me.rtb.Name = "rtb"
|
|
Me.rtb.Size = New System.Drawing.Size(412, 317)
|
|
Me.rtb.TabIndex = 0
|
|
Me.rtb.Text = ""
|
|
'
|
|
'ToolStrip1
|
|
'
|
|
Me.ToolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden
|
|
Me.ToolStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.NewToolStripButton, Me.OpenToolStripButton, Me.SaveToolStripButton, Me.PrintToolStripButton, Me.toolStripSeparator, Me.FontToolStripButton, Me.FontColorToolStripButton, Me.BoldToolStripButton, Me.UnderlineToolStripButton, Me.ToolStripSeparator4, Me.LeftToolStripButton, Me.CenterToolStripButton, Me.RightToolStripButton, Me.ToolStripSeparator3, Me.BulletsToolStripButton, Me.ToolStripSeparator2, Me.CutToolStripButton, Me.CopyToolStripButton, Me.PasteToolStripButton, Me.toolStripSeparator1})
|
|
Me.ToolStrip1.Location = New System.Drawing.Point(0, 0)
|
|
Me.ToolStrip1.Name = "ToolStrip1"
|
|
Me.ToolStrip1.Size = New System.Drawing.Size(412, 25)
|
|
Me.ToolStrip1.TabIndex = 1
|
|
Me.ToolStrip1.Text = "ToolStrip1"
|
|
'
|
|
'NewToolStripButton
|
|
'
|
|
Me.NewToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
|
Me.NewToolStripButton.Image = CType(resources.GetObject("NewToolStripButton.Image"), System.Drawing.Image)
|
|
Me.NewToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta
|
|
Me.NewToolStripButton.Name = "NewToolStripButton"
|
|
Me.NewToolStripButton.Size = New System.Drawing.Size(23, 22)
|
|
Me.NewToolStripButton.Text = "&New"
|
|
Me.NewToolStripButton.Visible = False
|
|
'
|
|
'OpenToolStripButton
|
|
'
|
|
Me.OpenToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
|
Me.OpenToolStripButton.Image = CType(resources.GetObject("OpenToolStripButton.Image"), System.Drawing.Image)
|
|
Me.OpenToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta
|
|
Me.OpenToolStripButton.Name = "OpenToolStripButton"
|
|
Me.OpenToolStripButton.Size = New System.Drawing.Size(23, 22)
|
|
Me.OpenToolStripButton.Text = "&Open"
|
|
Me.OpenToolStripButton.Visible = False
|
|
'
|
|
'SaveToolStripButton
|
|
'
|
|
Me.SaveToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
|
Me.SaveToolStripButton.Image = CType(resources.GetObject("SaveToolStripButton.Image"), System.Drawing.Image)
|
|
Me.SaveToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta
|
|
Me.SaveToolStripButton.Name = "SaveToolStripButton"
|
|
Me.SaveToolStripButton.Size = New System.Drawing.Size(23, 22)
|
|
Me.SaveToolStripButton.Text = "&Save"
|
|
Me.SaveToolStripButton.Visible = False
|
|
'
|
|
'PrintToolStripButton
|
|
'
|
|
Me.PrintToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
|
Me.PrintToolStripButton.Image = CType(resources.GetObject("PrintToolStripButton.Image"), System.Drawing.Image)
|
|
Me.PrintToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta
|
|
Me.PrintToolStripButton.Name = "PrintToolStripButton"
|
|
Me.PrintToolStripButton.Size = New System.Drawing.Size(23, 22)
|
|
Me.PrintToolStripButton.Text = "&Print"
|
|
Me.PrintToolStripButton.Visible = False
|
|
'
|
|
'toolStripSeparator
|
|
'
|
|
Me.toolStripSeparator.Name = "toolStripSeparator"
|
|
Me.toolStripSeparator.Size = New System.Drawing.Size(6, 25)
|
|
Me.toolStripSeparator.Visible = False
|
|
'
|
|
'FontToolStripButton
|
|
'
|
|
Me.FontToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
|
Me.FontToolStripButton.Image = CType(resources.GetObject("FontToolStripButton.Image"), System.Drawing.Image)
|
|
Me.FontToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta
|
|
Me.FontToolStripButton.Name = "FontToolStripButton"
|
|
Me.FontToolStripButton.Size = New System.Drawing.Size(23, 22)
|
|
Me.FontToolStripButton.Text = "Font"
|
|
'
|
|
'FontColorToolStripButton
|
|
'
|
|
Me.FontColorToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
|
Me.FontColorToolStripButton.Image = CType(resources.GetObject("FontColorToolStripButton.Image"), System.Drawing.Image)
|
|
Me.FontColorToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta
|
|
Me.FontColorToolStripButton.Name = "FontColorToolStripButton"
|
|
Me.FontColorToolStripButton.Size = New System.Drawing.Size(23, 22)
|
|
Me.FontColorToolStripButton.Text = "Font Color"
|
|
'
|
|
'BoldToolStripButton
|
|
'
|
|
Me.BoldToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
|
Me.BoldToolStripButton.Image = CType(resources.GetObject("BoldToolStripButton.Image"), System.Drawing.Image)
|
|
Me.BoldToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta
|
|
Me.BoldToolStripButton.Name = "BoldToolStripButton"
|
|
Me.BoldToolStripButton.Size = New System.Drawing.Size(23, 22)
|
|
Me.BoldToolStripButton.Text = "Bold"
|
|
'
|
|
'UnderlineToolStripButton
|
|
'
|
|
Me.UnderlineToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
|
Me.UnderlineToolStripButton.Image = CType(resources.GetObject("UnderlineToolStripButton.Image"), System.Drawing.Image)
|
|
Me.UnderlineToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta
|
|
Me.UnderlineToolStripButton.Name = "UnderlineToolStripButton"
|
|
Me.UnderlineToolStripButton.Size = New System.Drawing.Size(23, 22)
|
|
Me.UnderlineToolStripButton.Text = "Underline"
|
|
'
|
|
'ToolStripSeparator4
|
|
'
|
|
Me.ToolStripSeparator4.Name = "ToolStripSeparator4"
|
|
Me.ToolStripSeparator4.Size = New System.Drawing.Size(6, 25)
|
|
'
|
|
'LeftToolStripButton
|
|
'
|
|
Me.LeftToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
|
Me.LeftToolStripButton.Image = CType(resources.GetObject("LeftToolStripButton.Image"), System.Drawing.Image)
|
|
Me.LeftToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta
|
|
Me.LeftToolStripButton.Name = "LeftToolStripButton"
|
|
Me.LeftToolStripButton.Size = New System.Drawing.Size(23, 22)
|
|
Me.LeftToolStripButton.Text = "Left"
|
|
'
|
|
'CenterToolStripButton
|
|
'
|
|
Me.CenterToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
|
Me.CenterToolStripButton.Image = CType(resources.GetObject("CenterToolStripButton.Image"), System.Drawing.Image)
|
|
Me.CenterToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta
|
|
Me.CenterToolStripButton.Name = "CenterToolStripButton"
|
|
Me.CenterToolStripButton.Size = New System.Drawing.Size(23, 22)
|
|
Me.CenterToolStripButton.Text = "Center"
|
|
'
|
|
'RightToolStripButton
|
|
'
|
|
Me.RightToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
|
Me.RightToolStripButton.Image = CType(resources.GetObject("RightToolStripButton.Image"), System.Drawing.Image)
|
|
Me.RightToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta
|
|
Me.RightToolStripButton.Name = "RightToolStripButton"
|
|
Me.RightToolStripButton.Size = New System.Drawing.Size(23, 22)
|
|
Me.RightToolStripButton.Text = "Right"
|
|
'
|
|
'ToolStripSeparator3
|
|
'
|
|
Me.ToolStripSeparator3.Name = "ToolStripSeparator3"
|
|
Me.ToolStripSeparator3.Size = New System.Drawing.Size(6, 25)
|
|
'
|
|
'BulletsToolStripButton
|
|
'
|
|
Me.BulletsToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
|
Me.BulletsToolStripButton.Image = CType(resources.GetObject("BulletsToolStripButton.Image"), System.Drawing.Image)
|
|
Me.BulletsToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta
|
|
Me.BulletsToolStripButton.Name = "BulletsToolStripButton"
|
|
Me.BulletsToolStripButton.Size = New System.Drawing.Size(23, 22)
|
|
Me.BulletsToolStripButton.Text = "Bullets"
|
|
'
|
|
'ToolStripSeparator2
|
|
'
|
|
Me.ToolStripSeparator2.Name = "ToolStripSeparator2"
|
|
Me.ToolStripSeparator2.Size = New System.Drawing.Size(6, 25)
|
|
Me.ToolStripSeparator2.Visible = False
|
|
'
|
|
'CutToolStripButton
|
|
'
|
|
Me.CutToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
|
Me.CutToolStripButton.Image = CType(resources.GetObject("CutToolStripButton.Image"), System.Drawing.Image)
|
|
Me.CutToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta
|
|
Me.CutToolStripButton.Name = "CutToolStripButton"
|
|
Me.CutToolStripButton.Size = New System.Drawing.Size(23, 22)
|
|
Me.CutToolStripButton.Text = "C&ut"
|
|
Me.CutToolStripButton.Visible = False
|
|
'
|
|
'CopyToolStripButton
|
|
'
|
|
Me.CopyToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
|
Me.CopyToolStripButton.Image = CType(resources.GetObject("CopyToolStripButton.Image"), System.Drawing.Image)
|
|
Me.CopyToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta
|
|
Me.CopyToolStripButton.Name = "CopyToolStripButton"
|
|
Me.CopyToolStripButton.Size = New System.Drawing.Size(23, 22)
|
|
Me.CopyToolStripButton.Text = "&Copy"
|
|
Me.CopyToolStripButton.Visible = False
|
|
'
|
|
'PasteToolStripButton
|
|
'
|
|
Me.PasteToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
|
Me.PasteToolStripButton.Image = CType(resources.GetObject("PasteToolStripButton.Image"), System.Drawing.Image)
|
|
Me.PasteToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta
|
|
Me.PasteToolStripButton.Name = "PasteToolStripButton"
|
|
Me.PasteToolStripButton.Size = New System.Drawing.Size(23, 22)
|
|
Me.PasteToolStripButton.Text = "&Paste"
|
|
Me.PasteToolStripButton.Visible = False
|
|
'
|
|
'toolStripSeparator1
|
|
'
|
|
Me.toolStripSeparator1.Name = "toolStripSeparator1"
|
|
Me.toolStripSeparator1.Size = New System.Drawing.Size(6, 25)
|
|
'
|
|
'SpellChecker
|
|
'
|
|
Me.SpellChecker.Dictionary = Nothing
|
|
'
|
|
'OpenFileDlg
|
|
'
|
|
Me.OpenFileDlg.FileName = "OpenFileDialog1"
|
|
'
|
|
'RichTextBoxEx
|
|
'
|
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
|
Me.Controls.Add(Me.ToolStrip1)
|
|
Me.Controls.Add(Me.rtb)
|
|
Me.Name = "RichTextBoxEx"
|
|
Me.Size = New System.Drawing.Size(412, 342)
|
|
Me.ToolStrip1.ResumeLayout(False)
|
|
Me.ToolStrip1.PerformLayout()
|
|
Me.ResumeLayout(False)
|
|
Me.PerformLayout()
|
|
|
|
End Sub
|
|
Public WithEvents rtb As System.Windows.Forms.RichTextBox
|
|
Friend WithEvents ToolStrip1 As System.Windows.Forms.ToolStrip
|
|
Friend WithEvents NewToolStripButton As System.Windows.Forms.ToolStripButton
|
|
Friend WithEvents OpenToolStripButton As System.Windows.Forms.ToolStripButton
|
|
Friend WithEvents SaveToolStripButton As System.Windows.Forms.ToolStripButton
|
|
Friend WithEvents PrintToolStripButton As System.Windows.Forms.ToolStripButton
|
|
Friend WithEvents toolStripSeparator As System.Windows.Forms.ToolStripSeparator
|
|
Friend WithEvents CutToolStripButton As System.Windows.Forms.ToolStripButton
|
|
Friend WithEvents CopyToolStripButton As System.Windows.Forms.ToolStripButton
|
|
Friend WithEvents PasteToolStripButton As System.Windows.Forms.ToolStripButton
|
|
Friend WithEvents toolStripSeparator1 As System.Windows.Forms.ToolStripSeparator
|
|
Friend WithEvents SpellChecker As NetSpell.SpellChecker.Spelling
|
|
Friend WithEvents FontDlg As System.Windows.Forms.FontDialog
|
|
Friend WithEvents ColorDlg As System.Windows.Forms.ColorDialog
|
|
Friend WithEvents OpenFileDlg As System.Windows.Forms.OpenFileDialog
|
|
Friend WithEvents SaveFileDlg As System.Windows.Forms.SaveFileDialog
|
|
Friend WithEvents FontToolStripButton As System.Windows.Forms.ToolStripButton
|
|
Friend WithEvents FontColorToolStripButton As System.Windows.Forms.ToolStripButton
|
|
Friend WithEvents BoldToolStripButton As System.Windows.Forms.ToolStripButton
|
|
Friend WithEvents UnderlineToolStripButton As System.Windows.Forms.ToolStripButton
|
|
Friend WithEvents LeftToolStripButton As System.Windows.Forms.ToolStripButton
|
|
Friend WithEvents CenterToolStripButton As System.Windows.Forms.ToolStripButton
|
|
Friend WithEvents RightToolStripButton As System.Windows.Forms.ToolStripButton
|
|
Friend WithEvents ToolStripSeparator3 As System.Windows.Forms.ToolStripSeparator
|
|
Friend WithEvents ToolStripSeparator2 As System.Windows.Forms.ToolStripSeparator
|
|
Friend WithEvents BulletsToolStripButton As System.Windows.Forms.ToolStripButton
|
|
Friend WithEvents ToolStripSeparator4 As System.Windows.Forms.ToolStripSeparator
|
|
|
|
End Class
|