Hello I want make mini word.but here is big problem within.........The problem is that,when i save my file ,it save.But its encoding does not save.For Example: I type some line as font size =30 and save it but next time when i open it. It open default size as =10.
Pleas help for this .The code is
private void fontToolStripMenuItem_Click(object sender, EventArgs e)
{
fontDialog1.Font = richTextBox1.Font;
if (fontDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
richTextBox1.SelectionFont = fontDialog1.Font;
}
}
private void foreColorToolStripMenuItem_Click(object sender, EventArgs e)
{
colorDialog1.Color = richTextBox1.ForeColor;
if (colorDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
richTextBox1.SelectionColor = colorDialog1.Color;
}
}