1,105,328 Community Members

logout

Member Avatar
diya45
Junior Poster in Training
66 posts since Dec 2011
Reputation Points: -2 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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

Member Avatar
darkagn
Veteran Poster
1,199 posts since Aug 2007
Reputation Points: 279 [?]
Q&As Helped to Solve: 216 [?]
Skill Endorsements: 21 [?]
 
0
 

Reverse what you did for login.

Member Avatar
diya45
Junior Poster in Training
66 posts since Dec 2011
Reputation Points: -2 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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

Member Avatar
samsylvestertty
Junior Poster in Training
75 posts since Oct 2010
Reputation Points: 12 [?]
Q&As Helped to Solve: 4 [?]
Skill Endorsements: 0 [?]
 
0
 

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

Member Avatar
sumantnit
Newbie Poster
1 post since Dec 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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

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