示例#1
0
        private void btFact_Click(object sender, EventArgs e)
        {
            FormBill formBill = new FormBill();

            formBill.lbTotAll.Text = lbTotFact.Text;
            formBill.lbIdBill.Text = idBill;
            formBill.Show();
        }
示例#2
0
        private void btFact_Click(object sender, EventArgs e)
        {
            int user = Convert.ToInt32(lbIdUser.Text);

            createBill(idDetails, lbDate.Text, totAll, user, amountProducts);
            FormBill formBill = new FormBill();

            formBill.lbTotAll.Text   = lbTotFact.Text;
            formBill.lbIdBill.Text   = idDetails;
            formBill.lbIdClient.Text = lbIdUser.Text;
            formBill.Show();
            this.Hide();
        }