Exemplo n.º 1
0
        private void btnScan_Click(object sender, EventArgs e)
        {
            frmScannedDocs frmScan = new frmScannedDocs(id_Tax, cboAnotherPay.Text, dtpDate.Value, txtSum.Text);

            frmScan.setData(dateDoc, numDoc, nameArend, position, dateStartDoc, dateEndDoc, idArend);
            frmScan.ShowDialog();
        }
Exemplo n.º 2
0
        private void btnScan_Click(object sender, EventArgs e)
        {
            int      id_tax  = int.Parse(grdPayments.CurrentRow.Cells["id_tax"].Value.ToString());
            string   PntName = grdPayments.CurrentRow.Cells["PaymentName"].Value.ToString();
            DateTime dd      = DateTime.Parse(grdPayments.CurrentRow.Cells["TaxDate"].Value.ToString());
            string   sum     = grdPayments.CurrentRow.Cells["penalty"].Value.ToString();


            frmScannedDocs frmScan = new frmScannedDocs(id_tax, PntName, dd, sum)
            {
                ShowInTaskbar = false
            };

            frmScan.setData(dateDoc, numDoc, nameArend, position, dateStartDoc, dateEndDoc, idArend);
            frmScan.ShowDialog();
            GetData();
        }