コード例 #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmVoucherDebt frm = new frmVoucherDebt();

            frm.LoadDataChange += main_LoadDataChange;
            frm.Show();
        }
コード例 #2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            int id = TextUtils.ToInt(grvData.GetFocusedRowCellValue(colID));

            if (id == 0)
            {
                return;
            }
            CasePaidModel model = (CasePaidModel)CasePaidBO.Instance.FindByPK(id);

            _rownIndex = grvData.FocusedRowHandle;

            frmVoucherDebt frm = new frmVoucherDebt();

            frm.Case            = model;
            frm.LoadDataChange += main_LoadDataChange;
            frm.Show();
        }