private void btnEntrar_Click(object sender, EventArgs e) { TelaMenuPrincipal menuPrincipal = new TelaMenuPrincipal(); this.Hide(); menuPrincipal.ShowDialog(); this.Show(); }