ш ресурси
printBrush. Dispose ();. Dispose ();
} bool m_DocumentChanged = false;
///
///Установка стилю символів Bold
///
private void SetBold ()
{(richTextBox1. SelectionFont! = null)
{. Drawing. Font currentFont = richTextBox1. SelectionFont;. Drawing. FontStyle newFontStyle; (richTextBox1. SelectionFont. Bold == true)
{= FontStyle. Regular;
}
{= FontStyle. Bold;
}. SelectionFont = new Font (. FontFamily, currentFont. Size, newFontStyle);
}
}
///
///Установка стилю символів Bold
///
///
///Установка стилю символів Italic
///
private void SetItalic ()
{(richTextBox1. SelectionFont! = null)
{. Drawing. Font currentFont = richTextBox1. SelectionFont;. Drawing. FontStyle newFontStyle; (richTextBox1. SelectionFont. Italic == true)
{= FontStyle. Regular;
}
{= FontStyle. Italic;
}. SelectionFont = new Font (. FontFamily, currentFont. Size, newFontStyle);
}
}
///
///Установка стилю символів Underline
///
private void SetUnderline ()
{(richTextBox1. SelectionFont! = null)
{. Drawing. Font currentFont = richTextBox1. SelectionFont;. Drawing. FontStyle newFontStyle;
if (richTextBox1. SelectionFont. Underline == true)
{= FontStyle. Regular;
}
{= FontStyle. Underline;
}. SelectionFont = new Font (. FontFamily, currentFont. Size, newFontStyle);
}
}
///
///Установка стилю символів Strikeout
///
private void SetStrikeout ()
{(richTextBox1. SelectionFont! = null)
{. Drawing. Font currentFont = richTextBox1. SelectionFont;. Drawing. FontStyle newFontStyle; (richTextBox1. SelectionFont. Strikeout == true)
{= FontStyle. Regular;
}
{= FontStyle. Strikeout;
}. SelectionFont = new Font (. FontFa...