How to display a text on the form based on the calculated value?