187 references to Y
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 (129)
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 (24)
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)) { 4067int row = GetRowFromY(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)))) { 4249int rowOver = GetRowFromY(e.Y); 4255gridState[GRIDSTATE_dragging] = ((e.Y - topRow < dragHeight && topRow - e.Y < dragHeight) || (e.Y - bottomRow < dragHeight && bottomRow - e.Y < dragHeight)); 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); 4703Rectangle r = new Rectangle(inside.X, e.Y, inside.Width, 3); 5098int y = e.Y; 5135int y = Math.Min(e.Y, layout.Data.Y + layout.Data.Height + 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); 3453int y = e.Y; 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 (34)
5801int adjustedY = this.editingPanel.Location.Y + e.Y; 5820HitTestInfo hti = HitTest(me.X, me.Y); 5826DataGridViewCellMouseEventArgs dgvcme = new DataGridViewCellMouseEventArgs(hti.col, hti.row, mouseX, me.Y - hti.RowY, me); 5843Math.Abs(dgvcme.Y - this.lastMouseClickInfo.y) <= hotDoubleClickZone.Height / 2) 5850dgvcme = new DataGridViewCellMouseEventArgs(dgvcme.ColumnIndex, dgvcme.RowIndex, dgvcme.X, dgvcme.Y, me); 5901dgvcme = new DataGridViewCellMouseEventArgs(hti.col, hti.row, mouseX, me.Y - hti.RowY, me); 5966dgvcme = new DataGridViewCellMouseEventArgs(dgvcme.ColumnIndex, dgvcme.RowIndex, dgvcme.X, dgvcme.Y, meTmp); 6085int y = Math.Min(e.Y + this.mouseBarOffset, this.layout.Data.Bottom - 1); 6356int y = Math.Min(e.Y + this.mouseBarOffset, this.layout.Data.Bottom - 1); 10610this.currentRowSplitBar = e.Y; 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); 16344dgvcme = new DataGridViewCellMouseEventArgs(hti.col, hti.row, mouseX, e.Y - hti.RowY, e); 16410HitTestInfo hti = HitTest(e.X, e.Y); 16424dgvcme = new DataGridViewCellMouseEventArgs(hti.col, hti.row, mouseX, e.Y - hti.RowY, e); 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); 16548DataGridViewCellMouseEventArgs dgvcme = new DataGridViewCellMouseEventArgs(hti.col, hti.row, mouseX, e.Y - hti.RowY, e); 16613HitTestInfo hti = HitTest(e.X, e.Y); 16710int xOffset, yOffset, mouseX = e.X, mouseY = e.Y; 16791HitTestInfo hti = HitTest(e.X, e.Y); 16807MouseEventArgs meTmp = new MouseEventArgs(e.Button, 2, e.X, e.Y, e.Delta); 16808dgvcme = new DataGridViewCellMouseEventArgs(hti.col, hti.row, mouseX, e.Y - hti.RowY, meTmp); 16812dgvcme = new DataGridViewCellMouseEventArgs(hti.col, hti.row, mouseX, e.Y - hti.RowY, e); 16868hti = HitTest(e.X, e.Y); 16878OnCellMouseUp(new DataGridViewCellMouseEventArgs(hti.col, hti.row, mouseX, e.Y - hti.RowY, e)); 25560this.lastMouseClickInfo.y = dgvcme.Y; 29228DataGridViewCellMouseEventArgs dgvcme = new DataGridViewCellMouseEventArgs(htiToUse.col, htiToUse.row, mouseX, e.Y - htiToUse.RowY, e);
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 (10)
3143SnappableControl target = DividerInside(me.X,me.Y); 3148dividerMoveY = me.Y; 3164if (DividerInside(me.X,me.Y) != null) { 3173int yNew = DividerLimitMove(targetMove, me.Y); 3197dividerMoveY = DividerLimitMove(targetMove, me.Y); 3208Invalidate(new Rectangle(0, me.Y - cyDivider, Size.Width, me.Y + cyDivider)); 4660if (me.Y <= 1 || (size.Height - me.Y) <= 1) { 4664temp.y = me.Y;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (13)
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); 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)
1272int y = e.Y ; 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); 892int y = e.Y + Top; 893Rectangle r = CalcSplitLine(GetSplitSize(e.X, e.Y), 0); 908int y = e.Y + Top; 909Rectangle r = CalcSplitLine(GetSplitSize(e.X, e.Y), 0);
winforms\Managed\System\WinForms\StatusBar.cs (1)
752lastClick.Y = e.Y;
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 (8)
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); 1470if (e.Y < half_height) { 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);