1.11M Members

logout

 
0
 

can any one tell me log out or sinout code in c# using windows from application

 
0
 

Reverse what you did for login.

 
0
 

in reservation there is login form then login and complete task then there is logout
but i dont know how to code in logout label

 
0
 

Disable all your buttons and show the login form again. Its almost like restarting your application. Starting your application with new user credentials.

 
0
 

use to line on the logout click event
Application.Exit();
Application.Restart();

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article