示例#1
0
        private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            String          cod = this.dataGridView1.CurrentRow.Cells[0].Value.ToString();
            editar_filiacao wf  = new editar_filiacao(cod);

            wf.Show();
        }
示例#2
0
 private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         String          cod = this.dataGridView1.CurrentRow.Cells[0].Value.ToString();
         editar_filiacao wf  = new editar_filiacao(cod);
         wf.Show();
     }
 }