private void RestoreHistory() { Archive.Read(); ChatText.Text = Archive.IsExists() && !Archive.IsEmpty() ? Archive.GetMessages() : Bob.SayGreetings() + "\n"; ChatText.Focus(); ChatText.CaretIndex = ChatText.Text.Length; ChatText.ScrollToEnd(); }