SUNIL GUTTA

SUNIL GUTTA

  • NA
  • 1k
  • 395.3k

app development assistance ?

Nov 22 2013 7:17 AM
Hi fellas

my question is :::


Write a program to place an order from the restaurant menu below. Create the form and write the program so that after the button is clicked, the cost of the meal is calculated. The user must choose a Burger, but does not have to choose Fries and/or a Drink. Your program must deal with the possibility that the user does not choose one or both. It must also contain a "Reset Form" button that resets all the radio buttons on the form so that none of them are selected and clears any text in the textbox.
my code:
Public Class frmMenu
?
Private Sub grpChoiceBurgers_Enter(sender As Object, e As EventArgs) Handles grpChoiceBurgers.Enter
If grpChoiceBurgers.Enabled Then
?
grpFries.Enabled = True
grpChoiceDrink.Enabled = True
End If
?
End Sub
Private Sub grpFries_Enter(sender As Object, e As EventArgs) Handles grpFries.Enter
If grpFries.Enabled = True Then
grpChoiceDrink.Enabled = False
End If
End Sub
Private Sub grpChoiceDrink_Enter(sender As Object, e As EventArgs) Handles grpChoiceDrink.Enter
If grpChoiceDrink.Enabled = True Then
grpFries.Enabled = False
End If
End Sub


PS. no Checkboxes are to be used in this assignment only radiobuttons. 
CHECK THE ATTACHMENT THE LOOK OF GUI ATTACHED


Attachment: gui required.rar

Answers (1)