hello,
i would like some help for me to transfer the value of sum in form 1 to form 2.
here is my code:
Public Class Form1 Dim secondform As New Form2 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim num1, num2, sum As Integer num1 = TextBox1.Text num2 = TextBox2.Text sum = num1 + num2 secondform.Show() End Sub End Class<br/>
i need answer ASAP, please......
i would like some help for me to transfer the value of sum in form 1 to form 2.
here is my code:
Public Class Form1 Dim secondform As New Form2 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim num1, num2, sum As Integer num1 = TextBox1.Text num2 = TextBox2.Text sum = num1 + num2 secondform.Show() End Sub End Class<br/>
i need answer ASAP, please......