In this tutorial i will show you what can we write an application that protected with username and password. Let’s start.

First we make a project.
Then we make the design of the loging form.(we required 2 textbox that called txtUser,and txtPass, 1 checkbox, 1 button that I called btnLogin and some label.)
That’s mine : 
Posted Image
then we can start the designing of the main form( the main form we can see after logging in)

The code :


This source code content a password hide/show function also :
)

What Do You Think on This ? Say Here