Public Class Form1 Private Sub btnTotal1_Click(sender As Object, e As EventArgs) Handles btnTotal1.Click Dim quantity1 As Integer quantity1 = Val(txtQuantity1.Text) txtTotal1.Text = quantity1 * 450 End Sub Private Sub btnTotal2_Click(sender As Object, e As EventArgs) Handles btnTotal2.Click Dim quantity2 As Integer quantity2 = Val(txtQuantity2.Text) txtTotal2.Text = quantity2 * 550 End Sub Private Sub btnSubtotal_Click(sender As Object, e As EventArgs) Handles btnSubtotal.Click Dim subtotal, total1, total2, total3, total4, total5 As Integer total1 = Val(txtTotal1.Text) total2 = Val(txtTotal2.Text) total3 = Val(txtTotal3.Text) total4 = Val(txtTotal4.Text) total5 = Val(txtTotal5.Text) subtotal = Val(txtSubtotal.Text) txtSubtotal.Text = total1 + total2 + total3 + total4 + total5 End Sub Private Sub btnShippingFee_Click(sender As Object, e As EventArgs) Handles btnShippingFee.Click Dim shippingfee As Integer shippingfee = Val(txtShippingFee.Text) txtShippingFee.Text = 350 End Sub Private Sub btnTotalAmount_Click(sender As Object, e As EventArgs) Handles btnTotalAmount.Click Dim totalamount, subtotal, shippingfee As Integer subtotal = Val(txtSubtotal.Text) shippingfee = Val(txtShippingFee.Text) totalamount = Val(txtTotalAmount.Text) txtTotalAmount.Text = subtotal + shippingfee End Sub Private Sub btnValueUSD_Click(sender As Object, e As EventArgs) Handles btnValueUSD.Click Dim totalamount, valueusd As Integer totalamount = Val(txtTotalAmount.Text) valueusd = Val(txtValueUSD.Text) txtValueUSD.Text = totalamount / 50.43 End Sub Private Sub Button3_Click(sender As Object, e As EventArgs) Handles btnTotal3.Click Dim quantity3 As Integer quantity3 = Val(txtQuantity3.Text) txtTotal3.Text = quantity3 * 400 End Sub Private Sub btnTotal5_Click(sender As Object, e As EventArgs) Handles btnTotal5.Click Dim quantity5 As Integer quantity5 = Val(txtQuantity5.Text) txtTotal5.Text = quantity5 * 350 End Sub Private Sub btnTotal4_Click(sender As Object, e As EventArgs) Handles btnTotal4.Click Dim quantity4 As Integer quantity4 = Val(txtQuantity4.Text) txtTotal4.Text = quantity4 * 300 End Sub Private Sub btnCheckout_Click(sender As Object, e As EventArgs) Handles btnCheckout.Click Label16.Text = " Fresh products for Healthy living! Thank you for shopping! " End Sub Private Sub btnExit_Click(sender As Object, e As EventArgs) Handles btnExit.Click Me.Close() End Sub End Class