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

  • SEARCH
  • Home
  • 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 8895301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:44:34+00:00 2026-06-14T23:44:34+00:00

Alrighty. Here is my problem. I have just about everything done. I just need

  • 0

Alrighty. Here is my problem. I have just about everything done. I just need to take input from the form, and then use it in an algorithm in the second form. I have everything else written up, I just need to know how to connect the 2 so I can write up the last of the code. I’ve done some research, but none of it seems to go with what I’m trying to do.

Here is the main form.

namespace Airplanes
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void radioButton2_CheckedChanged(object sender, EventArgs e)
        {

        }

        private void Arrival_Click(object sender, EventArgs e)
        {
            ArrivalForm newForm;
            newForm = new ArrivalForm();
            newForm.ShowDialog();

        }

        private void Fuel_Click(object sender, EventArgs e)
        {
            Fuelform newForm2;
            newForm2 = new Fuelform();
            newForm2.ShowDialog();

        }

        private void Status_Click(object sender, EventArgs e)
        {


        }

        private void Items_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void NameBox_TextChanged(object sender, EventArgs e)
        {

        }

        private void FuelBox_TextChanged(object sender, EventArgs e)
        {

        }

        private void GateBox_TextChanged(object sender, EventArgs e)
        {

        }

        private void Singlebutton_CheckedChanged(object sender, EventArgs e)
        {

        }

        private void PrivateButton_CheckedChanged(object sender, EventArgs e)
        {

        }

        private void CommercialButton_CheckedChanged(object sender, EventArgs e)
        {

        }

    }
}

And here is the form I’m trying to connect to the main form.

namespace Airplanes
{
    public partial class Fuelform : Form
    {
        public Fuelform()
        {
            InitializeComponent();
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void Fuelform_Load(object sender, EventArgs e)
        {

        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {

        }

        private void textBox2_TextChanged(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {

        }
    }
}

Thanks in advance for any answers.

  • 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-06-14T23:44:35+00:00Added an answer on June 14, 2026 at 11:44 pm

    There are a couple of ways…the easiest would probably be to pass the data in through the constructor of your new form.

    FuelForm newForm2 = new FuelForm(myData);
    

    And then change the constructor for your FuelForm:

    public FuelForm(int myData)  // or whatever data type you need
    {
        // Deal with myData
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to work with array from several threads, so I use CRITICAL SECTION
I have a very recurrent problem here. (it happens literally all the time). I
Alright, title is REALLY sloppy. Here's my problem: I have a news site and
Alright, here is my problem i'm trying to solve. I have an index page
Alright so here is my problem. Basically I have a string with 4 words
Here's a really frustrating Actionscript 2 problem I have with movie clips associated with
alright so i have a small problem here, i have this here. - (void)alertView:(UIAlertView
Alright so here is the question. I have a user class which contains a
Alright, here I am again trying to write code from scratch and I can't
Alright, so heres my problem: I have an application I am working with that

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.