Pa help po nais ko po sanang mangyari sa code na to ay ganito po
pag hindi ko na click si button1 hindi po gagana si button2 at mag soshow ng messagebox na (Please Recompute) panu po un eto po na umpisahan ko kaso ayaw gumana ng please recompute
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
If Not IsNumeric(TextBox1.Text) Or Not IsNumeric(TextBox2.Text) Or Not IsNumeric(TextBox3.Text) Or Not IsNumeric(TextBox4.Text) Then
MessageBox.Show("Invalid Input", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning)
ElseIf 99 >= TextBox1.Text Or 99 >= TextBox2.Text Or 99 >= TextBox3.Text Or 99 >= TextBox4.Text Then
MessageBox.Show("Invalid Amount", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning)
If Label2.Text = "" Then
MessageBox.Show("Please Recompute", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning)
ElseIf Label3.Text = "" Then
MessageBox.Show("Please Recompute", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning)
ElseIf Label4.Text = "" Then
MessageBox.Show("Please Recompute", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning)
ElseIf Form5.Label1.Text = TextBox5.Text
Form5.Label2.Text = TextBox6.Text
Form5.Label3.Text = TextBox7.Text
Form5.Label4.Text = ComboBox4.Text
Form5.Label5.Text = TextBox8.Text
Form5.Label6.Text = ComboBox1.Text
Form5.Label7.Text = Label1.Text
Form5.Label8.Text = Label2.Text
Form5.Label9.Text = Label3.Text
Form5.Label10.Text = Label4.Text
Form5.Show()
Me.Hide()
End If
End If
End Sub