protected override void OnSelectAll(Control from) { //base.OnSelectAll(from); m_CursorEnd = 0; m_CursorPos = TextLength; RefreshCursorBounds(); }