Esempio n. 1
0
        private void dietToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            panel1.Controls.Clear();
            DietMaster master = new DietMaster();

            master.TopLevel = false;
            panel1.Controls.Add(master);
            master.Show();
        }
Esempio n. 2
0
        private void dietToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DietMaster form1 = new DietMaster();

            form1.Show();
        }