Esempio n. 1
0
        private void btnEditFamilyMember_Click(object sender, EventArgs e)
        {
            ClientFamilyMemberDetailUI loClientFamilyMemberDetail = new ClientFamilyMemberDetailUI(txtClientId.Text, dgvFamilyMembers.CurrentRow.Cells[0].Value.ToString());

            loClientFamilyMemberDetail.ShowDialog();
            if (loClientFamilyMemberDetail.lFromSave)
            {
                dgvFamilyMembers.DataSource = loClientFamilyMember.getAllData(txtClientId.Text, "");
            }
        }
Esempio n. 2
0
        private void btnAddFamilyMember_Click(object sender, EventArgs e)
        {
            ClientFamilyMemberDetailUI loClientFamilyMemberDetail = new ClientFamilyMemberDetailUI(txtClientId.Text);

            loClientFamilyMemberDetail.ShowDialog();
            if (loClientFamilyMemberDetail.lFromSave)
            {
                dgvFamilyMembers.DataSource = loClientFamilyMember.getAllData(txtClientId.Text, "");
            }
        }