示例#1
0
        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();
            }
        }
示例#2
0
        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();
            }
        }