コード例 #1
0
        private void btnVolver_Click(object sender, EventArgs e)
        {
            this.Hide();
            FormularioCarrito frm = new FormularioCarrito();

            frm.StartPosition = FormStartPosition.CenterScreen;
            frm.ShowDialog();
        }
コード例 #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            FormularioCarrito frm = new FormularioCarrito();

            frm.StartPosition = FormStartPosition.CenterScreen;
            Application.Run(frm);
        }