Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6000655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:43:29+00:00 2026-05-23T00:43:29+00:00

Ive got a basic questions about windows forms, im designing a app in visual

  • 0

Ive got a basic questions about windows forms, im designing a app in visual c# express, It needs a login, heres where im stuck,

Take msn messenger loads up and you get the use/pass prompt, put the details in and then you get your contacts,

How would you replicate something like that

in the simpilist form is this 2 seperate forms? ie a login form and a contact form? or is this one form with dynamic controls? etc

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T00:43:30+00:00Added an answer on May 23, 2026 at 12:43 am

    This is what I’d suggest:

    1. Have a central form in your application, you could call it “frmMain” for-the-purpose-of-discussion, and ensure that this form is the first thing that loads up on application start-up –

      Program { Main() { Application.Run(frmMain()); } }

    2. Next, define a central app-level properties management class, FTPOD – “AppProperties”

    3. Define, configure and manage the logged in users’ entity in this class
    4. This is so that, if the user is logged in then the details like login-name, id, email address, etcetera can be easily accessed at any time in the application life-span i.e., from any form
    5. Have a method in this class to check whether a user is logged in or not, FTPOD – “IsUserAuthenticated”
    6. Now when the Form_Load event of the “frmMain” is invoked, check if the user is logged-in
    7. If not then open a new form for requesting the user for login credentials, FTPOD – “frmLogin”

    “

    frmLogin login = new frmLogin()
    login.ShowDialog(this);
    login = null;
    
    1. Manage your authentication/login logic in this form (“frmLogin”), or as relevant in its business logic
    2. Upon successful authentication, set the users’ entity in the “AppProperties” class and then close the from
    3. Then from the “frmMain” class (once authenticated) open your main functioning form
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got some basic questions about C++. Consider the following code in which I
I've got a pretty basic question about how to start using Castle Windsor. I've
I'm working on kernel design, and I've got some questions concerning paging. The basic
I've got a basic question about obj-c coding, say I have two classes represented
I've got a question about accidentally hiding abstract methods. I'm creating a basic Entity
I really hope this isn't one of those super basic questions. Anyway, I've got
I've got a project that was written in BASIC. I'm not sure of the
I think I've got it down to the most basic case: int main(int argc,
I've got two sizing issue regarding a Window I've got. The basic layout is
I'm attempting to put together some basic report screens. I've got some fairly complicated

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.