Example #1
0
        private void btnPagar_Click(object sender, EventArgs e)
        {
            this.Close();
            string        inf  = "";
            List <string> info = Engine.infoPedido;

            for (int i = 0; i < info.Count; i++)
            {
                inf = inf + info[i].ToString() + "\n";
            }
            FrmPreparando f1 = new FrmPreparando(inf);

            f1.ShowDialog();
        }
Example #2
0
        private void btnPagar_Click(object sender, EventArgs e)
        {
            string        inf  = "";
            List <string> info = Engine.infoPedido;

            for (int i = 0; i < info.Count; i++)
            {
                inf = inf + info[i].ToString() + "\n";
            }
            if (info.Count < 1)
            {
                MessageBox.Show("Tiene que agregar algo al carrito");
            }
            else
            {
                FrmPreparando f1 = new FrmPreparando(inf);
                f1.ShowDialog();
            }
        }