Пример #1
0
 private void toolStripButton_Home_Click(object sender, EventArgs e)
 {
     Form4_VisaoGeral novo = new Form4_VisaoGeral();
     novo.TopLevel = false;
     novo.FormBorderStyle = FormBorderStyle.None;
     novo.WindowState = FormWindowState.Maximized;
     panel_Central.Controls.Clear();
     panel_Central.Controls.Add(novo);
     novo.Show();
 }
Пример #2
0
 private void Form3_Principal_Load(object sender, EventArgs e)
 {
     Form4_VisaoGeral novo = new Form4_VisaoGeral();
     novo.TopLevel = false;
     novo.FormBorderStyle = FormBorderStyle.None;
     novo.WindowState = FormWindowState.Maximized;
     panel_Central.Controls.Clear();
     panel_Central.Controls.Add(novo);
     novo.Show();
 }