Getting this error message.
non-static variable Text1 cannot be referenced from a static context

Text1 - a TextField on Form