Beispiel #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            FrmRewardAdd frm = new FrmRewardAdd(sf.Id, lc, "");

            //frm.setControl("");
            frm.ShowDialog(this);
            setGrd();
        }
Beispiel #2
0
        private void dgvView_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex == -1)
            {
                return;
            }
            if (dgvView[colId, e.RowIndex].Value == null)
            {
                return;
            }

            FrmRewardAdd frm = new FrmRewardAdd(sf.Code, lc, dgvView[colId, e.RowIndex].Value.ToString());

            //frm.setControl(dgvView[colId, e.RowIndex].Value.ToString());
            frm.ShowDialog(this);
            setGrd();
        }