private void dataGridView1_CellMouseUp(object sender, DataGridViewCellMouseEventArgs e) { if (e.Button == MouseButtons.Right) { private frmDGVColList objform = new frmDGVColList(); objform.StartPosition = FormStartPosition.Manual; objform.Location = dataGridView1.PointToScreen(dataGridView1.GetCellDisplayRectangle(e.ColumnIndex, e.RowIndex, false).Location); objform.Show(this.dataGridView1); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)