Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

how to code in a groupbox to show only after text has been enterd

$
0
0
im using a label instead of a groupbox.i want to use groupbox.so that after entering decSpentAmount"amount of user"
then the groupbox to display after that procidure in my userinterface.


thanks in advance
also thanks for correcting me,on how to post my questions

------------------code:
Private Sub btnCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click
'Declaration
Dim decPriceOfSlice As Decimal
Dim decSpentAmount As Decimal
Dim decInterest As Decimal
Dim decCalcPrice As Decimal

'Calculation
decSpentAmount = Convert.ToDecimal(txtSpentAmount.Text)

decInterest = 0.3D

decCalcPrice = decSpentAmount * decInterest
decPriceOfSlice = decSpentAmount + decCalcPrice

'Display

lblDisplay.Text = "The price of a slice of cake is :R" & decPriceOfSlice.ToString("N0")




End Sub

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>