Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Class Form1
- Private Sub FontToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FontToolStripMenuItem.Click
- FontDialog1.ShowDialog()
- RichTextBox1.SelectionFont = FontDialog1.Font
- End Sub
- Private Sub ColorToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ColorToolStripMenuItem.Click
- ColorDialog1.ShowDialog()
- RichTextBox1.SelectionColor = ColorDialog1.Color
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement