Login and remembering logged in user

Hi, i'm totally new to windows development and i cant figure out some propably verry easy things(easy for me in asp.net but not in windows). So here is what i want to do:
1) i want to have a login screen when a user opens my programm. types in password and username and then will be opened a new window where he can see task linked to him.
2) i want create a user class and by login create an object of this class wich would be available to all forms.

I know its really easy to make in asp.net using Sessions, but how can i make it in windows

Thank You,
Sven


Answer this question

Login and remembering logged in user