Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            DI = Convert.ToDecimal(txtDI.Text);
            id = Convert.ToInt32(lblId.Text);

            PV abrir = new _1.PV();

            abrir.Show();
            //PROBABLEMENTE UN DELAY
            this.Hide();
            //COMO CERRARLO
        }
        private void button1_Click(object sender, EventArgs e)
        {
            if (txtDI.Text == "")
            {
                MessageBox.Show("Ingrese una cantidad antes de continuar!");
            }
            else
            {
                DI = Convert.ToDecimal(txtDI.Text);
                id = Convert.ToInt32(lblId.Text);

                PV abrir = new _1.PV();
                abrir.Show();
                //PROBABLEMENTE UN DELAY
                this.Hide();
                //COMO CERRARLO
            }
        }