aim trying to make a notepad project but in the section of font i want after i close my application i can see the modifications i need on the
rich textbox font because after i save the file as a txt file when i open it again i see the text in the default font can any one tell me how
can i doi this
the code for the font men strip is:
private void fontToolStripMenuItem_Click_1(object sender, EventArgs e)
{
fontDialog1.ShowColor = true;
fontDialog1.Font = richTextBox1.Font;
fontDialog1.Color = richTextBox1.ForeColor;
if (fontDialog1.ShowDialog() != DialogResult.Cancel)
{
richTextBox1.Font = fontDialog1.Font;
richTextBox1.ForeColor = fontDialog1.Color;
//fontDialog1.ShowDialog();
}
}