private void pictureBox3_Click(object sender, EventArgs e) { main_fetch.Controls.Clear(); SchoolDetails form = new SchoolDetails(); form.TopLevel = false; main_fetch.Controls.Add(form); form.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; form.Show(); }
private void SCHOOLDETAILSToolStripMenuItem1_Click(object sender, EventArgs e) { main_fetch.Controls.Clear(); SchoolDetails form = new SchoolDetails(); form.TopLevel = false; main_fetch.Controls.Add(form); form.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; form.Show(); }