178 references to X
System.Web.Mobile (4)
UI\MobileControls\Design\StylesEditorDialog.cs (2)
935_editCandidateNode = (TreeNode)_tvDefinedStyles.GetNodeAt (e.X, e.Y); 944_editCandidateNode = (TreeNode)_tvDefinedStyles.GetNodeAt (e.X, e.Y);
UI\MobileControls\Design\Util\EditableTreeList.cs (2)
278EditCandidateNode = (TreeNode)TvList.GetNodeAt (e.X, e.Y); 287EditCandidateNode = (TreeNode)TvList.GetNodeAt (e.X, e.Y);
System.Windows.Forms (120)
winforms\Managed\System\WinForms\Button.cs (1)
305Point pt = PointToScreen(new Point(mevent.X, mevent.Y));
winforms\Managed\System\WinForms\ButtonBase.cs (1)
875if (!r.Contains(mevent.X, mevent.Y)) {
winforms\Managed\System\WinForms\CheckBox.cs (1)
647Point pt = PointToScreen(new Point(mevent.X, mevent.Y));
winforms\Managed\System\WinForms\DataGrid.cs (19)
4020HitTestInfo location = HitTest(e.X, e.Y); 4061caption.MouseDown(e.X - captionRect.X, e.Y - captionRect.Y); 4065if (layout.Data.Contains(e.X, e.Y) || layout.RowHeaders.Contains(e.X, e.Y)) { 4069Point p = NormalizeToRow(e.X, e.Y, row); 4159parentRows.OnMouseDown(e.X, e.Y, isRightToLeft()); 4165if (this.myGridTable.GridColumnStyles[location.col].MouseDown(location.row, e.X, e.Y)) 4215HitTestInfo location = HitTest(e.X, e.Y); 4244if ((layout.Data.Contains(e.X, e.Y) 4245|| (layout.RowHeadersVisible && layout.RowHeaders.Contains(e.X, e.Y)))) { 4258Point p = NormalizeToRow(e.X, e.Y, rowOver); 4295parentRows.OnMouseMove(e.X, e.Y); 4302caption.MouseOver(e.X - captionRect.X, e.Y - captionRect.Y); 4334HitTestInfo ci = HitTest(e.X, e.Y); 4336caption.MouseUp(e.X, e.Y); 4711Rectangle r = new Rectangle(e.X, inside.Y, 3, inside.Height); 4887int x = e.X; 4932int x = rightToLeft ? Math.Max(e.X, layout.Data.X) : Math.Min(e.X, layout.Data.Right + 1);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
608mouseInContentBounds = GetContentBounds(e.RowIndex).Contains(e.X, e.Y);
winforms\Managed\System\WinForms\DataGridViewCell.cs (3)
3354this.DataGridView.CellMouseDownInContentBounds = GetContentBounds(e.RowIndex).Contains(e.X, e.Y); 3452int x = e.X; 4728if (GetErrorIconBounds(e.RowIndex).Contains(e.X, e.Y))
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1040mouseInContentBounds = GetContentBounds(e.RowIndex).Contains(e.X, e.Y);
winforms\Managed\System\WinForms\DataGridViewColumnDividerDoubleClickEventArgs.cs (1)
15public DataGridViewColumnDividerDoubleClickEventArgs(int columnIndex, HandledMouseEventArgs e) : base(e.Button, e.Clicks, e.X, e.Y, e.Delta, e.Handled)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
1924CheckDropDownList(e.X, e.Y, e.RowIndex);
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (6)
792return LinkBoundsContainPoint(e.X, e.Y, e.RowIndex); 804if (LinkBoundsContainPoint(e.X, e.Y, e.RowIndex)) 824return this.TrackVisitedState && LinkBoundsContainPoint(e.X, e.Y, e.RowIndex); 858if (LinkBoundsContainPoint(e.X, e.Y, e.RowIndex)) 895if (LinkBoundsContainPoint(e.X, e.Y, e.RowIndex)) 933if (LinkBoundsContainPoint(e.X, e.Y, e.RowIndex) && this.TrackVisitedState)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (37)
3702if ((this.RightToLeftInternal && e.X < xColumnLeftEdge - wColumn / 2) || 3703(!this.RightToLeftInternal && e.X > xColumnLeftEdge + wColumn / 2)) 5800int adjustedX = this.editingPanel.Location.X + e.X; 5820HitTestInfo hti = HitTest(me.X, me.Y); 5821int mouseX = me.X - hti.ColumnX; 5842if (Math.Abs(dgvcme.X - this.lastMouseClickInfo.x) <= hotDoubleClickZone.Width / 2 && 5850dgvcme = new DataGridViewCellMouseEventArgs(dgvcme.ColumnIndex, dgvcme.RowIndex, dgvcme.X, dgvcme.Y, me); 5966dgvcme = new DataGridViewCellMouseEventArgs(dgvcme.ColumnIndex, dgvcme.RowIndex, dgvcme.X, dgvcme.Y, meTmp); 6137EndColumnResize(e.X); 6324x = Math.Max(e.X + this.mouseBarOffset, this.layout.Data.Left - 1); 6329x = Math.Min(e.X + this.mouseBarOffset, this.layout.Data.Right - 1); 10667this.lastHeaderShadow = e.X; 12276Point ptGridCoord = ConvertCellToGridCoord(e.ColumnIndex, e.RowIndex, e.X, e.Y); 13024Point ptGridCoord = ConvertCellToGridCoord(e.ColumnIndex, e.RowIndex, e.X, e.Y); 15442HitTestInfo hti = HitTest(me.X, me.Y); 16324HitTestInfo hti = HitTest(e.X, e.Y); 16339int mouseX = e.X - hti.ColumnX; 16410HitTestInfo hti = HitTest(e.X, e.Y); 16419int mouseX = e.X - hti.ColumnX; 16451HandledMouseEventArgs hme = new HandledMouseEventArgs(e.Button, e.Clicks, e.X, e.Y, e.Delta, false /*defaultHandledValue*/); 16464HandledMouseEventArgs hme = new HandledMouseEventArgs(e.Button, e.Clicks, e.X, e.Y, e.Delta, false /*defaultHandledValue*/); 16487HandledMouseEventArgs hme = new HandledMouseEventArgs(e.Button, e.Clicks, e.X, e.Y, e.Delta, false /*defaultHandledValue*/); 16500HandledMouseEventArgs hme = new HandledMouseEventArgs(e.Button, e.Clicks, e.X, e.Y, e.Delta, false /*defaultHandledValue*/); 16534HitTestInfo hti = HitTest(e.X, e.Y); 16542this.ptMouseDownGridCoord = new Point(e.X, e.Y); 16543int mouseX = e.X - hti.ColumnX; 16613HitTestInfo hti = HitTest(e.X, e.Y); 16620MoveRowHeadersOrColumnResize(e.X); 16636MoveRowHeadersOrColumnResize(e.X); 16710int xOffset, yOffset, mouseX = e.X, mouseY = e.Y; 16791HitTestInfo hti = HitTest(e.X, e.Y); 16799int mouseX = e.X - hti.ColumnX; 16807MouseEventArgs meTmp = new MouseEventArgs(e.Button, 2, e.X, e.Y, e.Delta); 16868hti = HitTest(e.X, e.Y); 16873int mouseX = e.X - hti.ColumnX; 25559this.lastMouseClickInfo.x = dgvcme.X; 29223int mouseX = e.X - htiToUse.ColumnX;
winforms\Managed\System\WinForms\DataGridViewRowDividerDoubleClickEventArgs.cs (1)
15public DataGridViewRowDividerDoubleClickEventArgs(int rowIndex, HandledMouseEventArgs e) : base(e.Button, e.Clicks, e.X, e.Y, e.Delta, e.Handled)
winforms\Managed\System\WinForms\LinkLabel.cs (2)
1045Link clicked = PointInLink(e.X, e.Y); 1076Link pointIn = PointInLink(e.X, e.Y);
winforms\Managed\System\WinForms\PropertyGrid.cs (3)
3143SnappableControl target = DividerInside(me.X,me.Y); 3164if (DividerInside(me.X,me.Y) != null) { 4663temp.x = me.X;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (14)
2811Point screenPoint = Edit.PointToScreen(new Point(me.X, me.Y)); 2816Edit.SendMessage(NativeMethods.WM_LBUTTONUP, 0, (int)(me.Y << 16 | (me.X & 0xFFFF))); 3170if (me.Button == MouseButtons.Left && SplitterInside(me.X,me.Y) && totalProps != 0) { 3188Point pos = FindPosition(me.X,me.Y); 3202lastMouseDown = new Point(me.X, me.Y); 3207gridEntry.OnMouseClick(me.X - r.X, me.Y - r.Y, me.Clicks, me.Button); 3236pt = FindPosition(me.X,me.Y); 3253MoveSplitterTo(me.X); 3263if (onLabel && gridItem.GetLabelToolTipLocation(me.X - itemRect.X, me.Y - itemRect.Y) != InvalidPoint) { 3292if (totalProps != 0 && (SplitterInside(me.X,me.Y) || GetFlag(FlagIsSplitterMove))) { 5789this.currentMoveType = MoveTypeFromPoint(e.X, e.Y); 5792dragStart = PointToScreen(new Point(e.X, e.Y)); 5812int cursorMoveType = MoveTypeFromPoint(e.X, e.Y); 5831Point dragPoint = PointToScreen(new Point(e.X, e.Y));
winforms\Managed\System\WinForms\RadioButton.cs (1)
573Point pt = PointToScreen(new Point(mevent.X, mevent.Y));
winforms\Managed\System\WinForms\SplitContainer.cs (4)
1271int x = e.X ; 1283Rectangle r = CalcSplitLine(GetSplitterDistance(e.X, e.Y), 0); 1335SplitBegin(e.X, e.Y); 1354CalcSplitLine(GetSplitterDistance(e.X, e.Y), 0);
winforms\Managed\System\WinForms\Splitter.cs (5)
880SplitBegin(e.X, e.Y); 891int x = e.X + Left; 893Rectangle r = CalcSplitLine(GetSplitSize(e.X, e.Y), 0); 907int x = e.X + Left; 909Rectangle r = CalcSplitLine(GetSplitSize(e.X, e.Y), 0);
winforms\Managed\System\WinForms\StatusBar.cs (1)
751lastClick.X = e.X;
winforms\Managed\System\WinForms\ToolStrip.cs (6)
3478ToolStripItem item = GetItemAt(mea.X, mea.Y); 3490Point itemRelativePoint = item.TranslatePoint(new Point(mea.X, mea.Y), ToolStripPointType.ToolStripCoords, ToolStripPointType.ToolStripItemCoords); 3510ToolStripItem item = GetItemAt(mea.X, mea.Y); 3553Point itemRelativePoint = item.TranslatePoint(new Point(mea.X, mea.Y), ToolStripPointType.ToolStripCoords, ToolStripPointType.ToolStripItemCoords); 3595ToolStripItem item = (Grip.MovingToolStrip) ? Grip : GetItemAt(mea.X, mea.Y); 3600Point itemRelativePoint = item.TranslatePoint(new Point(mea.X, mea.Y), ToolStripPointType.ToolStripCoords, ToolStripPointType.ToolStripItemCoords);
winforms\Managed\System\WinForms\ToolStripGrip.cs (3)
145startLocation = TranslatePoint(new Point(mea.X, mea.Y), ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords); 178Point endLocation = TranslatePoint(new Point(mea.X, mea.Y), ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords); 229Point endLocation = TranslatePoint(new Point(mea.X, mea.Y), ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords);
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
556Point clickPoint = new Point(e.X, e.Y);
winforms\Managed\System\WinForms\UpDownBase.cs (7)
965Point pt = PointToScreen(new Point(mevent.X, mevent.Y)); 1164NativeMethods.POINT point = new NativeMethods.POINT(e.X, e.Y); 1306Point pt = new Point(e.X,e.Y); 1579if (rect.Contains(e.X, e.Y)) { 1618if (rectUp.Contains(e.X, e.Y)) { 1622else if (rectDown.Contains(e.X, e.Y)) { 1652Point pt = new Point(e.X,e.Y);
System.Workflow.Activities (3)
Designers\StateDesigner.Layouts.cs (3)
250Layout layout = GetLayoutAt(e.X, e.Y); 301Layout layout = GetLayoutAt(e.X, e.Y); 335Layout layout = GetLayoutAt(e.X, e.Y);
System.Workflow.ComponentModel (51)
AuthoringOM\Design\ActivityDesigner.cs (8)
2590Point logicalPoint = parentView.ClientPointToLogical(new Point(e.X, e.Y)); 2607Point logicalPoint = parentView.ClientPointToLogical(new Point(e.X, e.Y)); 2624Point logicalPoint = parentView.ClientPointToLogical(new Point(e.X, e.Y)); 2641Point logicalPoint = parentView.ClientPointToLogical(new Point(e.X, e.Y)); 2658Point logicalPoint = parentView.ClientPointToLogical(new Point(e.X, e.Y)); 2675Point logicalPoint = parentView.ClientPointToLogical(new Point(e.X, e.Y)); 2724Point logicalPoint = parentView.ClientPointToLogical(new Point(e.X, e.Y)); 2741Point logicalPoint = parentView.ClientPointToLogical(new Point(e.X, e.Y));
AuthoringOM\Design\ActivityPreviewDesigner.cs (2)
666Point point = new Point(e.X, e.Y); 680Point point = new Point(e.X, e.Y);
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
1213if (ExpandButtonRectangle.Contains(new Point(e.X, e.Y)))
AuthoringOM\Design\DesignerWidgets.cs (12)
425Point mousePoint = new Point(e.X, e.Y); 450ActiveButton = HitTest(new Point(e.X, e.Y)); 455Point mousePoint = new Point(e.X, e.Y); 791ItemInfo itemHit = HitTest(new Point(e.X, e.Y)); 800ItemInfo itemHit = HitTest(new Point(e.X, e.Y)); 814ItemInfo itemHit = HitTest(new Point(e.X, e.Y)); 1176Point mousePoint = new Point(e.X, e.Y); 1203Point mousePoint = new Point(e.X, e.Y); 1833if (buttonRectangle.Contains(new Point(e.X, e.Y))) 1850if (buttonRectangle.Contains(new Point(e.X, e.Y)) && tabItemInfo.Text != this.buttonTips.GetToolTip(this)) 2617Point point = new Point(e.X, e.Y); 3361if (PreviewModeButtonRectangle.Contains(new Point(e.X, e.Y)))
AuthoringOM\Design\MessageFilters\ConnectionManager.cs (4)
86Point clientPoint = new Point(eventArgs.X, eventArgs.Y); 115Point clientPoint = new Point(eventArgs.X, eventArgs.Y); 157Point clientPoint = new Point(eventArgs.X, eventArgs.Y); 201Point clientPoint = new Point(eventArgs.X, eventArgs.Y);
AuthoringOM\Design\MessageFilters\DragDropManager.cs (2)
81Point clientPoint = new Point(eventArgs.X, eventArgs.Y); 102Point clientPoint = new Point(eventArgs.X, eventArgs.Y);
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (3)
49this.startDrag = this.endDrag = ParentView.ClientPointToLogical(new Point(eventArgs.X, eventArgs.Y)); 57Point logicalPoint = parentView.ClientPointToLogical(new Point(eventArgs.X, eventArgs.Y)); 94this.endDrag = parentView.ClientPointToLogical(new Point(eventArgs.X, eventArgs.Y));
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (5)
107UpdateTransparency(new Point(eventArgs.X, eventArgs.Y)); 114Point clientPoint = new Point(eventArgs.X, eventArgs.Y); 166Point clientPoint = new Point(eventArgs.X, eventArgs.Y); 233if (actionBounds.Contains(new Point(eventArgs.X, eventArgs.Y))) 242Point clientPoint = new Point(eventArgs.X, eventArgs.Y);
AuthoringOM\Design\MessageFilters\GlyphManager.cs (3)
206RefreshActiveGlyph(ParentView.ClientPointToLogical(new Point(eventArgs.X, eventArgs.Y))); 212RefreshActiveGlyph(ParentView.ClientPointToLogical(new Point(eventArgs.X, eventArgs.Y))); 218RefreshActiveGlyph(ParentView.ClientPointToLogical(new Point(eventArgs.X, eventArgs.Y)));
AuthoringOM\Design\MessageFilters\PanningMessageFilter.cs (3)
66SetPanPoint(new Point(eventArgs.X, eventArgs.Y)); 74Size panSize = new Size(eventArgs.X - this.panPoint.X, eventArgs.Y - this.panPoint.Y); 77SetPanPoint(new Point(eventArgs.X, eventArgs.Y));
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (3)
32Point clientPoint = new Point(eventArgs.X, eventArgs.Y); 51Point clientPoint = new Point(eventArgs.X, eventArgs.Y); 80UpdateDesignerSize(workflowView.ClientPointToLogical(new Point(eventArgs.X, eventArgs.Y)), this.designerToResize, this.designerSizingEdge);
AuthoringOM\Design\MessageFilters\WindowManager.cs (3)
28Point clientPoint = new Point(eventArgs.X, eventArgs.Y); 74Point clientPoint = new Point(eventArgs.X, eventArgs.Y); 108Point clientPoint = new Point(eventArgs.X, eventArgs.Y);
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (1)
119Point center = new Point((this.currentState == ZoomState.In) ? eventArgs.X : parentView.ViewPortSize.Width / 2, (this.currentState == ZoomState.In) ? eventArgs.Y : parentView.ViewPortSize.Height / 2);
AuthoringOM\Design\WorkflowView.cs (1)
2179clientPoint = new Point(((MouseEventArgs)e).X, ((MouseEventArgs)e).Y);