Here are the examples of the csharp api class System.Windows.Forms.DataGridView.OnMouseMove(System.Windows.Forms.MouseEventArgs) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
0
1. Example
Project: Analysis-Services
Source File: TreeGridView.cs
Source File: TreeGridView.cs
protected override void OnMouseMove(MouseEventArgs e) { // while we are expanding and collapsing a node mouse moves are // supressed to keep selections from being messed up. if (!this._inExpandCollapseMouseCapture) base.OnMouseMove(e); }
0
2. Example
Project: BismNormalizer
Source File: TreeGridView.cs
Source File: TreeGridView.cs
protected override void OnMouseMove(MouseEventArgs e) { // while we are expanding and collapsing a node mouse moves are // supressed to keep selections from being messed up. if (!this._inExpandCollapseMouseCapture) base.OnMouseMove(e); }
0
3. Example
Project: ClearCanvas
Source File: DataGridViewWithDragSupport.cs
Source File: DataGridViewWithDragSupport.cs
protected override void OnMouseMove(MouseEventArgs e) { if (_rowIndexFromMouseDown != -1 && (e.Button & MouseButtons.Left) == MouseButtons.Left) { if (ShouldBeginDrag(e)) { // Proceed with the drag and drop, passing in the list item. ItemDragEventArgs args = new ItemDragEventArgs(MouseButtons.Left, null); EventsHelper.Fire(_itemDrag, this, args); // reset the drag box to empty so that the event is not fired repeatedly _dragBoxFromMouseDown = Rectangle.Empty; } } else { // allow the base class to handle it only if the left mouse button was not pressed base.OnMouseMove(e); } }