private void Display_field_Load(object sender, EventArgs e) { Form new_form = new Choosing_method(); new_form.TopLevel = false; new_form.Parent = this; new_form.Show(); }
private void Switch_form() { Form new_form = new Choosing_method(); new_form.TopLevel = false; new_form.Parent = this.Parent; this.Hide(); new_form.Show(); this.Parent.Controls.Remove(this); this.Close(); }