private void httpTest_Click(object sender, EventArgs e) { HTTPForm httpForm = new HTTPForm(); SetFormInPanel(httpForm); httpForm.ParentForm.Width = 1024; httpForm.ParentForm.Height = 736; }
public HTTPForm() { InitializeComponent(); httpForm = this; }