//Button >> private void BtnNextResult_Click(object sender, RoutedEventArgs e) { double NextResult = Calculations.GiveBackNextElementOfResultMemory(); double ExceptionValue = -9999.6677712; if (NextResult != ExceptionValue && NextResult != 0) { TbResultMemory.Text = NextResult.ToString(); Calculations.IncrementResultMemoryNavigatorByOne(); } }