New Product Launch - BoldDesk !
Introducing help desk ticketing software.
New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.int lastCurrentCellRowIndex = -1; int lastCurrentCellColIndex = -1; private void gridDataBoundGrid1_CurrentCellMoved(object sender, GridCurrentCellMovedEventArgs e) { if(Control.MouseButtons != MouseButtons.Left) { GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell; this.lastCurrentCellRowIndex = cc.MoveToRowIndex; this.lastCurrentCellColIndex = cc.MoveFromColIndex; } } private void gridDataBoundGrid1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) { GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell; if(lastCurrentCellRowIndex == cc.RowIndex && lastCurrentCellColIndex == cc.ColIndex) this.gridDataBoundGrid1.ActivateCurrentCellBehavior = GridCellActivateAction.ClickOnCell; else this.gridDataBoundGrid1.ActivateCurrentCellBehavior = GridCellActivateAction.None; this.lastCurrentCellRowIndex = cc.RowIndex; this.lastCurrentCellColIndex = cc.ColIndex; }