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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T20:04:41+00:00 2026-06-08T20:04:41+00:00

Alright so I’m doing something with next buttons that open new forms, annoying thing

  • 0

Alright so I’m doing something with next buttons that open new forms, annoying thing is that new forms pop up somewhere I don’t want to on the desktop.

I’m trying to get the new form to spawn on the location of the old form with the code below, unfortunately for whatever reason it’s not working at all, they still pop up the same way as before. And yes I have registered the events.

Form1:

System.Drawing.Point LocationPoint = new System.Drawing.Point(200,200);
private void Installer_template_LocationChanged(object sender, EventArgs e)
{
    // Save the window location to the installer arts
    LocationPoint = this.Location;
}
private void NextButton_Click(object sender, EventArgs e)
{
    var NextForm = new Form2(LocationPoint);
    NextForm.Show();
    this.Hide();
}

Form2

  public Form2(System.Drawing.Point LocationPoint)
    {
        InitializeComponent();
        this.Location = LocationPoint;
    }

The code is something along those lines

  • 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-08T20:04:42+00:00Added an answer on June 8, 2026 at 8:04 pm

    Have you tried setting the StartPosition of the new forms, i.e.

            this.StartPosition = FormStartPosition.Manual;
    

    or

            this.StartPosition = FormStartPosition.CenterParent;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Alright so i need to open a .txt file that will be created in
Alright so this is a bizarre cross platform thing that I'm experiencing with text
Alright, I'm using form.target to open content in a new window. However, when I
Alright I don't see why this isnt working. It seems pretty simple. Here is
Alright so I have no idea how to even begin doing this But basically
Alright, so I got this code for gluLookAt: lookAt = new Vector3f(-player.pos.x, -player.pos.y, -player.pos.z);
Alright y'all. I am attempting to write a bit of code that places typographic
Alright, so I'm new to Android programming, so far my experience has been quite
Alright I'm pretty new to programming and stuff and I'm now trying to code
Alright, I or someone I work with broke the syntax here somewhere, and I'm

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.