コード例 #1
0
        private void dgvAdvisors_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int index = dgvAdvisors.CurrentRow.Index;
            advisorId = new Guid(dgvAdvisors.Rows[index].Cells[0].Value.ToString());

            Presentation.Forms.frmAdvisor advisorForm = new Presentation.Forms.frmAdvisor(frmMain_Parent, advisorId);
        }
コード例 #2
0
        private void btnOpenAdv_Click(object sender, EventArgs e)
        {
            int index = dgvAdvisors.CurrentRow.Index;
            advisorId = new Guid(dgvAdvisors.Rows[index].Cells[0].Value.ToString());

            Presentation.Forms.frmAdvisor advisorForm = new Presentation.Forms.frmAdvisor(frmMain_Parent, advisorId);
        }