private void homeMenuItem_Click(object sender, EventArgs e) { this.panel1.Controls.Clear(); VisualizarInformacoes ViewInfo = new VisualizarInformacoes(); this.panel1.Controls.Add(ViewInfo); }
public Home() { InitializeComponent(); this.panel1.Controls.Clear(); VisualizarInformacoes ViewInfo = new VisualizarInformacoes(); this.panel1.Controls.Add(ViewInfo); }