private void btnEidt_Click(object sender, EventArgs e) { formResidentBaseInfo formBaseInfo = new formResidentBaseInfo(); dgvCurrentRow = dgvResidentBaseInfo.CurrentRow.DataBoundItem.ToStringObjectDictionary(); formBaseInfo.ShowDialog(); }
private void btnAdd_Click(object sender, EventArgs e) { formResidentBaseInfo formBaseInfo = new formResidentBaseInfo(); dgvCurrentRow = null; formBaseInfo.ShowDialog(); }