We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,134 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

logout

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

4
Contributors
4
Replies
5 Days
Discussion Span
5 Months Ago
Last Updated
5
Views
Related Article: Problem with login in student registration is a C# discussion thread by king03 that has 5 replies, was last updated 11 months ago and has been tagged with the keywords: c#.
diya45
Junior Poster in Training
56 posts since Dec 2011
Reputation Points: 8
Solved Threads: 0
Skill Endorsements: 0

Reverse what you did for login.

darkagn
Nearly a Posting Virtuoso
1,223 posts since Aug 2007
Reputation Points: 404
Solved Threads: 211
Skill Endorsements: 15

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

diya45
Junior Poster in Training
56 posts since Dec 2011
Reputation Points: 8
Solved Threads: 0
Skill Endorsements: 0

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

samsylvestertty
Junior Poster in Training
75 posts since Oct 2010
Reputation Points: 22
Solved Threads: 4
Skill Endorsements: 0

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

sumantnit
Newbie Poster
1 post since Dec 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0563 seconds using 2.45MB