private void GAWeightTextBox_LostFocus(object sender, RoutedEventArgs e) { if (GATextBox.Text != "" && weightTextBox.Text != "" && weightTextBox.Text != "0") { _currentRecord.CalculateSGA(); SGATextBlock.Text = _currentRecord.SGA.ToString(); } }