private void buttonInput_Click(object sender, EventArgs e) { mainPanel.Controls.Clear(); inputForm showForm = new inputForm(); showForm.TopLevel = false; mainPanel.Controls.Add(showForm); showForm.Show(); }
private void Load(object sender, EventArgs e) { InForm = new inputForm(); }