I don't want to see the new form. I need him to be maximized and same size as form1 but not to see it. So when i move/drag form1 around with the mouse i need that the new form behind it will be move/drag with form1.
This is a button click event in form1 that show the new form:
private void BeginOperationBut_Click(object sender, EventArgs e)
{
if (this.imageList.Count == 0)
{
wbss = new WebBrowserScreenshots();
wbss.Show();
}
}
wbss is the new form.
I tried in the new form designer to set the property Locked to True but it didn't change anything.
What i want to do is two things:
- The new form should be show/start behind form1.
- The new form should be locked so when i drag/move around the form it will move the new form also. So i will not see the new form only form1.
The way it is now when i click the button the new form is showing over in front of form1.