hello
I want to take data ( number) from text box on second form ,and break running for first form
when second form closed , the first form continue it running
this code for first form
public number As Integer
dim numofcondition as form
Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click
numofcondition=new form2
numofcondition.show()
for i as integer =1 to number
text1=new textbox
text1.location=new point(5,25+(i*19))
me.controls.add(text1)
end for
End Sub
this code for second form
Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click
number=int(textbox1.text)
me.close()
end sub
please help