Exemplo n.º 1
0
        }  //排序

        private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            Form_showDetails showDetails = new Form_showDetails(bindingSource1);

            showDetails.ShowDialog();
        }
Exemplo n.º 2
0
        }  //排序

        private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            Form_showDetails showDetails = new Form_showDetails((int)dataGridView1.Rows[e.RowIndex].Cells[0].Value);

            showDetails.ShowDialog();
        }