Beispiel #1
0
        private void BtnBNew_Click(object sender, EventArgs e)
        {
            //throw new NotImplementedException();
            FrmExpenseDrawD frm = new FrmExpenseDrawD(xC, "", "", "", "", "", FrmExpenseDrawD.StatusPage.AppvPay, FrmExpenseDrawD.StatusPayType.All);

            frm.ShowDialog(this);
            setRowGrfDeduct(xC.sItm);
            calAmtGrfBill();
        }
Beispiel #2
0
        private void BtnDEdit_Click(object sender, EventArgs e)
        {
            //throw new NotImplementedException();
            if (grfExpnD[grfExpnD.Row, colDid] == null)
            {
                return;
            }
            String did = "";

            did = grfExpnD[grfExpnD.Row, colDid] != null ? grfExpnD[grfExpnD.Row, colDid].ToString() : "";
            FrmExpenseDrawD frm = new FrmExpenseDrawD(xC, did, imp.cust_id, txtImpNameT.Text, imp.taddr1, imp.tax_id, FrmExpenseDrawD.StatusPage.AppvPay, FrmExpenseDrawD.StatusPayType.Cash);

            frm.ShowDialog(this);
            setExpnDD(grfExpnD.Row, grfExpnD[grfExpnD.Row, colDid].ToString());
        }