c# - How do I maintain user login details in a Winforms application? -
hi can i'm new windows forms. here want maintain state (like session in web applications) in windows forms.
actually want store user login details in session. think there no concept of session in winforms. alternative method handle type of situation.
regards, nagu
there no concept of session variables in windows forms. can is:
create internal class holds user name , password , other variables , enumerations needed across application (something common.cs). these can accessed through public properties across application.
have parameterized constructor forms , send user name , password whenever showing form.
Comments
Post a Comment