public void SelectAll()
{
Bounds.FirstColumn = 0;
Bounds.FirstRow = 0;
Bounds.LastColumn = Control.Document[Control.Document.Count -
1].Text.Length;
Bounds.LastRow = Control.Document.Count - 1;
Control.Caret.Position.X = Bounds.LastColumn;
Control.Caret.Position.Y = Bounds.LastRow;
Control.ScrollIntoView();
}