private void dgvIndex_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { if (e.RowIndex > -1) { PDIndex index = dgvIndex.Rows[e.RowIndex].DataBoundItem as PDIndex; if (index == null) return; PdmColumnsViewer v = new PdmColumnsViewer(index.ColumnList); v.ShowDialog(); } }
private void dgvIndex_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { if (e.RowIndex > -1) { PDIndex index = dgvIndex.Rows[e.RowIndex].DataBoundItem as PDIndex; if (index == null) { return; } PdmColumnsViewer v = new PdmColumnsViewer(index.ColumnList); v.ShowDialog(); } }