C sharp windows form
i want to link a windows form to users on their log in bases please help me
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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
John BhattRank #1,381 · 1.2K reputationPosted Sep 21, 2014, 3:47 AM EDT
Can you please clarify? You want to link a windows form to user on their login basis.
Means do you want to maintain session to open last opened form for user. Please clarify.
sharan Kumar9 reputationPosted Sep 21, 2014, 4:03 AM EDT
John BhattRank #1,381 · 1.2K reputationPosted Sep 21, 2014, 4:32 AM EDT
Then get the form location and open on successful login attempt, store in a Object type of Form called MyForm or any other name. Then open as just below.
Ex.
Application.Run(new MyForm());I am not able to provide you code because I do not have PC with VS installed these days. I would recommend you to read below thread.
www.codeproject.com/Questions/245578/How-to-convert-String-to-Windows-form-object