Пример #1
0
 private void btnEntrar_Click(object sender, EventArgs e)
 {
     TelaMenuPrincipal menuPrincipal = new TelaMenuPrincipal();
     this.Hide();
     menuPrincipal.ShowDialog();
     this.Show();
 }
Пример #2
0
        private void btnEntrar_Click(object sender, EventArgs e)
        {
            TelaMenuPrincipal menuPrincipal = new TelaMenuPrincipal();

            this.Hide();
            menuPrincipal.ShowDialog();
            this.Show();
        }