Hi,
I'm trying to make a notepad in Visual Studio 2010 but I have a problem. I want to edit the font and color for richTextBox1, but it wont work. Here's the code:
private void fontToolStripMenuItem_Click(object sender, EventArgs e) { fontDialog1.ShowDialog(); } private void colorToolStripMenuItem_Click(object sender, EventArgs e) { colorDialog1.ShowDialog(); }
Where do you save the results of these dialogs? Where do you set the RTF font and color?