private void TAcceleration_MouseMove(object sender, MouseEventArgs e) { (sender as TextBox).SelectionLength = 0; TAcceleration.Select(TAcceleration.Text.Length, 0); }
private void TAcceleration_KeyUp(object sender, KeyEventArgs e) { strFlagType = Сalculate(); (sender as TextBox).SelectionLength = 0; TAcceleration.Select(TAcceleration.Text.Length, 0); }