private void ToggleSelectionFormat(FontStyle fs)
{
if((m_uBlockEvents > 0) || (m_bdc != BinaryDataClass.RichText)) return;
Font f = m_rtbText.SelectionFont;
if(f == null) return;
try { m_rtbText.SelectionFont = new Font(f, f.Style ^ fs); }
catch(Exception ex) { MessageService.ShowWarning(ex); }
UpdateUIState(true, true);
}