private void UISelectAllText(bool bSelect)
{
if(bSelect)
{
m_lSelections.Push(new KeyValuePair<int, int>(m_rtbText.SelectionStart,
m_rtbText.SelectionLength));
m_rtbText.SelectAll();
}
else
{
KeyValuePair<int, int> kvp = m_lSelections.Pop();
m_rtbText.Select(kvp.Key, kvp.Value);
}
}