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(); }
private void dietToolStripMenuItem_Click(object sender, EventArgs e) { DietMaster form1 = new DietMaster(); form1.Show(); }