- Joined
- Mar 17, 2004
- Location
- Lawrenceville, Georgia
Ok, so here is the deal. I have my form, which runs a _Load event. In that event, I have it load another form I have created. I want this form to be positioned to the right of the first form, so I issue the commands like such
However, the second form (loginDialogNetworks) doesnt move any. Help?
Edit: Fixed it. Needed to swap the last 2 lines of code.
Code:
private void loginDialog_Load(object sender, EventArgs e)
{
Form loginDialogNetworks = new loginDialogNetworks();
loginDialogNetworks.Location = new Point((this.Location.X)+100, 0;
loginDialogNetworks.Show();
}
However, the second form (loginDialogNetworks) doesnt move any. Help?
Edit: Fixed it. Needed to swap the last 2 lines of code.
Last edited: