Ejemplo n.º 1
0
        private void dbGridPersons_RowHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            int pid = Convert.ToInt32(dbGridPersons.Rows[e.RowIndex].Cells[0].Value.ToString());

            personDetails = FetchPersonDetailById(pid);
            _personDetailsRegistration.InvolvedPersons = this;
            _personDetailsRegistration.ShowDialog();
        }
Ejemplo n.º 2
0
 private void btnPersonDetails_Click(object sender, EventArgs e)
 {
     _personDetails.ShowDialog();
 }