I have two forms

form1 has a textbox and a button
when i click that button i show form2

and in form2 i wan tto read whats in the textbox on form1
and write an if statement based on whats in the text box

ex..If textbox1.text ="1979" then
blah blah blah
Else if textbox1.text="1980" then
blah blah blah
Else
Blah
end if


How do i do this?