visual basic solution, need help with this assignment 1.Radio buttons that limit
ID: 3800360 • Letter: V
Question
visual basic solution, need help with this assignment
1.Radio buttons that limit the user to only one choice (nested selection structure)
2.A group box for your radio buttons
3. Controls to prevent unwanted characters in text boxes
4.At least one message box
5.At least one select case statement
Test your application by using valid data to ensure
that your application provides the correct results. Save the file (in
Visual Basic) after applying any edits.
no Visual "C" examples.
thanks for the help.
Explanation / Answer
Public Class Form1
Dim from As Double
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Label4.Text = Str((Integer.Parse(TextBox1.Text) * from))
End Sub
Private Sub Label1_Click(sender As Object, e As EventArgs) Handles Label1.Click
End Sub
Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ComboBox1.SelectedIndexChanged
End Sub
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ComboBox1.SelectedIndexChanged
Select Case ComboBox1.Text
Case "Hollywood Movie"
from = 01
Case "Bollywood Movie"
from = 02
Case "Tollywood Movie"
from = 03
End Select
End Sub
Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
End Sub
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.