private void toolStripMenuItemColor_Click(object sender, EventArgs e) { if (colorDialog1.ShowDialog() == DialogResult.OK) { richTextBoxInfo.ForeColor = colorDialog1.Color; } }