I have a little authentication window come up as soon as you start the program but then when a user enters their username and password (correctly; it is checked against database) I need it to set a few variables (variables must be public and kept until application closes) and pass them to the next form that I want to open (what's the method, property or function to do that). Please help me out.