I created a login screen for my app, but I want the user to have the ability to turn off the login required and have the app skip the Login Screen and go straight to the main form.
Where can I find a tutorial on how to do this?
Thank you,
Richard
I created a login screen for my app, but I want the user to have the ability to turn off the login required and have the app skip the Login Screen and go straight to the main form.
Where can I find a tutorial on how to do this?
Thank you,
Richard
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Tuhin PaulRank #7 · 71.9K reputationPosted Mar 25, 2024, 10:45 PM EDT
There are a few ways to implement a "skip login" functionality in your WPF application with a login screen.
1. Configuration File:
.configor.xml) to store a setting for "skip login".2. Remember Me Checkbox:
3. Command Line Argument:
myapp.exe -skiplogin).Appclass (usually inApp.xaml.cs), check for this argument during application startup.Tuhin PaulRank #7 · 71.9K reputationPosted Mar 25, 2024, 10:45 PM EDT
You can find tutorials on handling command-line arguments in WPF by searching for "https://wpf-tutorial.com/wpf-application/command-line-parameters/".