Well, I have a main form (Form1) and a second form (Form2) which is a preference box. Anyways, I made a combobox and a button on the second form, and a button on the first form which opens up the new one. Everything works well until you try to use the combo box to change the client size, this worked before when it wasn't on a new form, so I know it's meant to be working.
Here is my code:
private void button1_Click(object sender, EventArgs e)
{
Form1 f1 = new Form1();
if (comboBox1.Text == "800x600")
{
f1.ClientSize = new System.Drawing.Size(800, 600);
}
if (comboBox1.Text == "300x300")
{
f1.ClientSize = new System.Drawing.Size(300, 300);
}
}
Thanks.