static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); MenuPrincipal menuPrinc = new MenuPrincipal(); Application.Run(menuPrinc); /*Combat fenCombat = new Combat(); Application.Run(fenCombat);*/ }
private void btnMenuPrincipal_Click(object sender, EventArgs e) { Hide(); MenuPrincipal menuMain = new MenuPrincipal(); menuMain.ShowDialog(); }