示例#1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmEditContact frmEdit = new frmEditContact(null, sv.ID, null);

            frmEdit.ShowDialog();
            loadData();
        }
示例#2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            DanhBa         d       = bdsContact.Current as DanhBa;
            frmEditContact frmEdit = new frmEditContact(d, null, d.ID);

            frmEdit.ShowDialog();
            loadData();
        }