private void btnVolver_Click(object sender, EventArgs e) { this.Hide(); FormularioCarrito frm = new FormularioCarrito(); frm.StartPosition = FormStartPosition.CenterScreen; frm.ShowDialog(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); FormularioCarrito frm = new FormularioCarrito(); frm.StartPosition = FormStartPosition.CenterScreen; Application.Run(frm); }