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 7639803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:30:54+00:00 2026-05-31T08:30:54+00:00

I have program with asp.net c# but now i need to create an application

  • 0

I have program with asp.net c# but now i need to create an application in windows forms, I have tried to see some tutorials but they all show only one form. How is this concept done in windows forms?

In asp.net you create a page and fill it with controls like text boxes, drop downs etc.. and maybe a button with “Go Next”, then you would have another page with different controls and with its own functionality too. So when you click next you would do something like Response.Redirect("SomePage.aspx"); for example..

How is this done in windows forms?, can I have several forms and navigate from one to the other? and if so how do you persist data when navigating from one to another?.

Please excuse if the question is too basic but I am new to windows forms.

Any help would be much appreciated

Regards

  • 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-31T08:30:55+00:00Added an answer on May 31, 2026 at 8:30 am

    You could also make UserControls and fill them with your controls. Then you can add or remove them from your form or container. That is how I switch Edit Pages in my application.

    A simple Example using 2 UserControls and a Panel as a container:

    public partial class Form1 : Form
    {
        UserControl1 usr1 = new UserControl1();
        UserControl2 usr2 = new UserControl2();
    
        public Form1()
        {
            InitializeComponent();
        }
    
        private void button1_Click(object sender, EventArgs e)
        {
            panel1.Controls.Clear();
            panel1.Controls.Add(usr1 );
        }
    
        private void button2_Click(object sender, EventArgs e)
        {
            panel1.Controls.Clear();
            panel1.Controls.Add(usr2 );
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET web service that I can access via a windows program
I am creating a website in asp.net but i have some issue.. I have
I have a ASP.NET 1.1 application running on IIS 6 / Windows Server 2003.
I have a ASP.NET program that works just fine but takes 10 seconds to
I have an ASP.NET program where i am downloading a file from web using
Using C# ASP.NET I want to program a queue. I want to have X
I am an ASP.NET developer, but now I want to build a software that
I have googled some time now trying to find a good sample application that
I have a file upload program written in ASP.NET MVC. It is currently on
I have an Asp.Net MVC 3 application with a database Consultants, accessed by EF.

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.