Esempio n. 1
0
        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();
        }
Esempio n. 2
0
        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();
        }