Example #1
0
        private void btnEditPersonalReference_Click(object sender, EventArgs e)
        {
            ClientPersonalReferenceDetailUI loClientPersonalReferenceDetail = new ClientPersonalReferenceDetailUI(txtClientId.Text, dgvPersonalReference.CurrentRow.Cells[0].Value.ToString());

            loClientPersonalReferenceDetail.ShowDialog();
            if (loClientPersonalReferenceDetail.lFromSave)
            {
                dgvPersonalReference.DataSource = loClientPersonalReference.getAllData(txtClientId.Text, "");
            }
        }
Example #2
0
        private void btnAddPersonalReference_Click(object sender, EventArgs e)
        {
            ClientPersonalReferenceDetailUI loClientPersonalReferenceDetail = new ClientPersonalReferenceDetailUI(txtClientId.Text);

            loClientPersonalReferenceDetail.ShowDialog();
            if (loClientPersonalReferenceDetail.lFromSave)
            {
                dgvPersonalReference.DataSource = loClientPersonalReference.getAllData(txtClientId.Text, "");
            }
        }