212 references to Empty
System.Web.DataVisualization (4)
Common\General\Axis.cs (2)
2471PointF first = Point.Empty; 2472PointF second = Point.Empty;
Common\General\ImageMap.cs (2)
392PointF pConverted = Point.Empty; 393PointF pOriginal = Point.Empty;
System.Windows.Forms (111)
winforms\Managed\System\WinForms\Control.cs (7)
997return Point.Empty; 9588PaintBackground(e, rectangle, this.BackColor, Point.Empty); 9592PaintBackground(e, rectangle, backColor, Point.Empty); 9620if (scrollControl != null && scrollLocation != Point.Empty) { 10362PrintToMetaFileRecursive(hDC, lParam, new Rectangle(Point.Empty, this.Size)); 10381Point clientOffset = PointToScreen(Point.Empty); 16266private static Point logPixels = Point.Empty;
winforms\Managed\System\WinForms\ControlPaint.cs (3)
447DrawBackgroundImage(g, backgroundImage, backColor, backgroundImageLayout, bounds, clipRect, Point.Empty, RightToLeft.No); 464if (scrollOffset != Point.Empty) { 502Rectangle partOfImageToDraw = new Rectangle(Point.Empty, imageRect.Size);
winforms\Managed\System\WinForms\Cursor.cs (1)
261Point hotSpot = Point.Empty;
winforms\Managed\System\WinForms\DataGridView.cs (1)
305private Point ptCurrentCell, ptCurrentCellCache = Point.Empty, ptAnchorCell, ptMouseDownCell, ptMouseEnteredCell, ptToolTipCell, ptMouseDownGridCoord;
winforms\Managed\System\WinForms\ErrorProvider.cs (2)
886Point mirrordcOrigin = Point.Empty; 1055mirrordcOrigin = Point.Empty;
winforms\Managed\System\WinForms\Label.cs (1)
1624ControlPaint.PrintBorder(g, new Rectangle(Point.Empty, Size), BorderStyle, Border3DStyle.SunkenOuter);
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (2)
351if (ptScroll != Point.Empty) { 426if (ptScroll != Point.Empty) {
winforms\Managed\System\WinForms\ListView.cs (1)
6186Point startingPoint = Point.Empty;
winforms\Managed\System\WinForms\Panel.cs (1)
296ControlPaint.PrintBorder(g, new Rectangle(Point.Empty, Size), BorderStyle, Border3DStyle.Sunken);
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (2)
58private Point screendpi = Point.Empty; 590Point lastImageSize = Point.Empty;
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
2788Point newPt = Point.Empty; 2801Point newPt = Point.Empty;
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (1)
32Point lastMouseMove = Point.Empty;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (7)
154private Point rowSelectPos = Point.Empty; // the position that we clicked on a row to test for double clicks 2819rowSelectPos = Point.Empty; 3228Point pt = Point.Empty; 3653rowSelectPos = Point.Empty; 5296Point tipPt = Point.Empty; 5453private Point dragStart = Point.Empty; // the point at which the drag started to compute the delta 5901this.dragStart = Point.Empty;
winforms\Managed\System\WinForms\RichTextBox.cs (1)
2374return Point.Empty;
winforms\Managed\System\WinForms\ScrollableControl.cs (1)
89internal Point scrollPosition = Point.Empty;
winforms\Managed\System\WinForms\SplitContainer.cs (2)
94private Point anchor = Point.Empty; 2242anchor = Point.Empty;
winforms\Managed\System\WinForms\Splitter.cs (2)
48private Point anchor = Point.Empty; 1019anchor = Point.Empty;
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
1793return Point.Empty;
winforms\Managed\System\WinForms\ToolStrip.cs (1)
5409Point start = Point.Empty;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (5)
36private Point dropDownLocation = Point.Empty; 1205Point screenPoint = Point.Empty; 1223Point parentClientPoint = Point.Empty; 1240Point offset = Point.Empty; 1247Rectangle dropDownBounds = new Rectangle(Point.Empty, GetSuggestedSize());
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (6)
122Rectangle ownerItemBounds = new Rectangle(TranslatePoint(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords), Size); 195return Point.Empty; 311Point offset = Point.Empty; 341Point itemScreenLocation = this.TranslatePoint(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords); 382Rectangle dropDownBounds = new Rectangle(Point.Empty, DropDown.GetSuggestedSize()); 387Rectangle itemScreenBounds = new Rectangle(this.TranslatePoint(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords), this.Size);
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (2)
402Point nextPoint = Point.Empty; 510textRectangle.Y = LayoutUtils.VAlign(textRectangle.Size, new Rectangle(Point.Empty, maxItemSize), ContentAlignment.MiddleCenter).Y;
winforms\Managed\System\WinForms\ToolStripGrip.cs (1)
22Point startLocation = Point.Empty;
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (7)
138 Rectangle bounds = new Rectangle(Point.Empty, e.Item.Size); 185 DrawArrow(new ToolStripArrowRenderEventArgs(g, item, new Rectangle(Point.Empty, item.Size), arrowColor, ArrowDirection.Down)); 227 Rectangle bounds = new Rectangle(Point.Empty, e.ToolStrip.Size); 254 Rectangle bounds = new Rectangle(Point.Empty, e.ToolStrip.Size); 313 Rectangle bounds = new Rectangle(Point.Empty, e.Item.Size); 393Rectangle bounds = new Rectangle(Point.Empty, e.Item.Size); 420 Rectangle bounds = new Rectangle(Point.Empty, e.Item.Size);
winforms\Managed\System\WinForms\ToolStripItem.cs (3)
595client.Location = Point.Empty; 3856Point toPoint = Point.Empty; 4693Rectangle bounds = new Rectangle(Point.Empty, ownerItem.Size);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
820ControlPaint.DrawCaptionButton(g, new Rectangle(Point.Empty, image.Size), (CaptionButton)buttonToUse, ButtonState.Flat);
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
911Join(toolStripToDrag, Point.Empty); 919Point location = Point.Empty;
winforms\Managed\System\WinForms\ToolStripProfessionalLowResolutionRenderer.cs (1)
41Rectangle bounds = new Rectangle(Point.Empty, e.ToolStrip.Size);
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (21)
216Rectangle bounds = new Rectangle(Point.Empty, item.Size); 232RenderSeparatorInternal(e.Graphics, e.Item, new Rectangle(Point.Empty, e.Item.Size), e.Vertical); 247Rectangle bounds = new Rectangle(Point.Empty, item.Size); 314Rectangle bounds = new Rectangle(Point.Empty, item.Size); 375Rectangle bounds = new Rectangle(Point.Empty, toolStrip.Size); 492Rectangle bounds = new Rectangle(Point.Empty, item.Size); 673e.Graphics.DrawImage(image, imageRect, new Rectangle(Point.Empty, imageRect.Size), GraphicsUnit.Pixel); 732Rectangle bounds = new Rectangle(Point.Empty, toolStrip.Size); 741Point topLeft = Point.Empty; 958Rectangle bounds = new Rectangle(Point.Empty, item.Size); 983Rectangle gradientBounds = new Rectangle(Point.Empty, parent.Size); 987g.FillRectangle(b, new Rectangle(Point.Empty, control.Size)); 992Rectangle gradientBounds = new Rectangle(Point.Empty, control.Size); 1003g.FillRectangle(b, new Rectangle(Point.Empty, control.Size)); 1014Rectangle bounds = new Rectangle(Point.Empty, e.ToolStrip.Size); 1024Rectangle bounds = new Rectangle(Point.Empty, e.ToolStrip.Size); 1036Rectangle bounds = new Rectangle(Point.Empty, toolStripDropDown.Size); 1056Rectangle overflowBoundsFill = new Rectangle(Point.Empty, e.Item.Size); 1155Rectangle bounds = new Rectangle(Point.Empty, e.ToolStrip.Size); 1161Point topLeft = Point.Empty; 1371Rectangle bounds = new Rectangle(Point.Empty, item.Size);
winforms\Managed\System\WinForms\ToolStripRenderer.cs (2)
878e.Graphics.DrawImage(image, imageRect, new Rectangle(Point.Empty,imageRect.Size), GraphicsUnit.Pixel); 942TextRenderer.DrawText(textGraphics, text, textFont, new Rectangle(Point.Empty, textSize), textColor, textFormat);
winforms\Managed\System\WinForms\ToolStripRenderEventArgs.cs (2)
30this.affectedBounds = new Rectangle(Point.Empty, toolStrip.Size); 113Rectangle itemBounds = new Rectangle(toolStrip.PointToClient(ownerItem.TranslatePoint(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords)), ownerItem.Size);
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (3)
368Rectangle dropDownButtonBounds = new Rectangle(Point.Empty, this.Size); 372dropDownButtonBounds = new Rectangle(Point.Empty, new Size(Math.Min(this.Width, DropDownButtonWidth), this.Height)); 378splitButtonButtonBounds = new Rectangle(Point.Empty, new Size(splitButtonButtonWidth, splitButtonButtonHeight));
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (9)
258Rectangle bounds = new Rectangle(Point.Empty, e.GripBounds.Size); 341vsRenderer.DrawBackground(g, new Rectangle(Point.Empty, item.Size)); 347DrawArrow(new ToolStripArrowRenderEventArgs(g, item, new Rectangle(Point.Empty, item.Size), arrowColor, ArrowDirection.Down)); 374Rectangle bounds = new Rectangle(Point.Empty, item.Size); 392Rectangle fillRect = new Rectangle(Point.Empty, item.Size); 437RenderSeparatorInternal(e.Graphics, e.Item, new Rectangle(Point.Empty, e.Item.Size), e.Vertical); 466Rectangle bounds = new Rectangle(Point.Empty, splitButton.Size); 576vsRenderer.DrawBackground(g, new Rectangle(Point.Empty, item.Size)); 579RenderSmall3DBorderInternal(g, new Rectangle(Point.Empty, item.Size), state, (item.RightToLeft == RightToLeft.Yes));
winforms\Managed\System\WinForms\ToolTip.cs (5)
2216if (tt.Position != Point.Empty) 2440if ( ((tt.TipType & TipInfo.Type.SemiAbsolute) != 0) && tt.Position == Point.Empty ) { 2467else if ((tt.TipType & TipInfo.Type.SemiAbsolute) != 0 && tt.Position != Point.Empty) { 2540tt.Position = Point.Empty; 2701public Point Position = Point.Empty;
winforms\Managed\System\WinForms\UpDownBase.cs (1)
1093Rectangle clientArea = new Rectangle(Point.Empty, ClientSize);
winforms\Managed\System\WinForms\WinFormsUtils.cs (1)
738this.graphics.SetClip(new Rectangle(Point.Empty, translatedBounds.Size));
System.Windows.Forms.DataVisualization (5)
Common\General\Axis.cs (2)
2471PointF first = Point.Empty; 2472PointF second = Point.Empty;
Common\General\ImageMap.cs (2)
392PointF pConverted = Point.Empty; 393PointF pOriginal = Point.Empty;
WinForm\Utilities\AccessibleObject.cs (1)
47private Point _chartScreenPosition = Point.Empty;
System.Workflow.Activities (6)
Designers\StateDesigner.cs (4)
1100if ((edges & DesignerEdges.Left) > 0 && layout.LeftConnectionPoint != Point.Empty) 1107if ((edges & DesignerEdges.Right) > 0 && layout.RightConnectionPoint != Point.Empty) 1131if ((edges & DesignerEdges.Left) > 0 && layout.LeftConnectionPoint != Point.Empty) 1134if ((edges & DesignerEdges.Right) > 0 && layout.RightConnectionPoint != Point.Empty)
Designers\StateDesigner.Layouts.cs (1)
45return Point.Empty;
Designers\WhileDesigner.cs (1)
45Point connectionPoint = Point.Empty;
System.Workflow.ComponentModel (86)
AuthoringOM\Design\ActivityDesigner.cs (3)
71private Point location = Point.Empty; 1983activityDesigner.Location = Point.Empty; 2971using (GraphicsPath graphicsPath = ActivityDesignerPaint.GetDesignerPath(this, Point.Empty, new Size(DesignerTheme.BorderWidth, DesignerTheme.BorderWidth), DesignerEdges.All, false))
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (1)
438object point = Point.Empty;
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
795return Point.Empty;
AuthoringOM\Design\Connector.cs (6)
124return Point.Empty; 1666Point escapePoint = Point.Empty; 2089Point r1 = Point.Empty, r2 = Point.Empty, r3 = Point.Empty, r4 = Point.Empty;
AuthoringOM\Design\DesignerHelpers.cs (8)
135DrawImage(graphics, image, destination, new Rectangle(Point.Empty, image.Size), alignment, 1.0f, false); 143DrawImage(graphics, image, destination, new Rectangle(Point.Empty, image.Size), DesignerContentAlignment.Center, transparency, false); 321DrawImage(graphics, image, bounds, new Rectangle(Point.Empty, image.Size), DesignerContentAlignment.Fill, transparency, (buttonState == ButtonState.Inactive)); 331Point gridStart = Point.Empty; 498designerBounds.Location = Point.Empty; 516DrawImage(graphics, compositeDesignerTheme.WatermarkImage, bounds, new Rectangle(Point.Empty, compositeDesignerTheme.WatermarkImage.Size), compositeDesignerTheme.WatermarkAlignment, AmbientTheme.WatermarkTransparency, false); 529return GetDesignerPath(designer, Point.Empty, Size.Empty, DesignerEdges.None, enableRoundedCorners); 1027Point gridStart = Point.Empty;
AuthoringOM\Design\DesignerInterfaces.cs (3)
161public Point Translation = Point.Empty; 176private Point snapPoint = Point.Empty; 177private Point dragInitiationPoint = Point.Empty;
AuthoringOM\Design\DesignerWidgets.cs (5)
1257graphics.DrawImage(this.enabledItems[i].Image, new Rectangle(imagePoint, imageSize), new Rectangle(Point.Empty, imageSize), GraphicsUnit.Pixel); 3244Point descRectanglePos = Point.Empty; 3249Point previewModeBitmapPos = Point.Empty; 3259Point location = Point.Empty; 3470graphics.DrawImage(previewedActivityImage, destnRectangle, new Rectangle(Point.Empty, previewedActivityImage.Size), GraphicsUnit.Pixel);
AuthoringOM\Design\FreeFormDesigner.cs (1)
1310Point location = Point.Empty;
AuthoringOM\Design\Glyphs\ConnectorDragDropGlyph.cs (1)
14private Point glyphPoint = Point.Empty;
AuthoringOM\Design\MessageFilters\AutoScrollExpandMessageFilter.cs (2)
112Rectangle clientRectangle = new Rectangle(Point.Empty, ParentView.ViewPortSize); 153Rectangle clientRectangle = new Rectangle(Point.Empty, ParentView.ViewPortSize);
AuthoringOM\Design\MessageFilters\ConnectionManager.cs (5)
80Point cursorPoint = Point.Empty; 113Point cursorPoint = Point.Empty; 156Point cursorPoint = Point.Empty; 195Point cursorPoint = Point.Empty; 370this.connectorEditor.OnEndEditing((editPoint != null) ? editPoint.Value : Point.Empty, (editPoint != null));
AuthoringOM\Design\MessageFilters\DragDropManager.cs (5)
26private Point dragImagePointInClientCoOrd = Point.Empty; 33private Point dragInitiationPoint = Point.Empty; 673Rectangle imageRectangle = (image != null) ? new Rectangle(Point.Empty, image.Size) : Rectangle.Empty; 674Rectangle descriptionRectangle = (description.Length > 0) ? new Rectangle(Point.Empty, new Size(AmbientTheme.DragImageTextSize.Width, parentView.Font.Height + 2)) : Rectangle.Empty; 687draggedImageGraphics.DrawImage(image, new Rectangle(Point.Empty, image.Size));
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (2)
15private Point startDrag = Point.Empty; 16private Point endDrag = Point.Empty;
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (5)
285UpdateTransparency(Point.Empty); 321Rectangle bounds = new Rectangle(Point.Empty, ParentView.ViewPortSize); 547ActivityDesignerPaint.DrawImage(graphics, buttonImage, buttonBounds, new Rectangle(Point.Empty, buttonImage.Size), DesignerContentAlignment.Fill, transparency, (button.State == ActionButton.States.Disabled)); 559ActivityDesignerPaint.DrawImage(graphics, buttonImage, buttonBounds, new Rectangle(Point.Empty, buttonImage.Size), DesignerContentAlignment.Fill, this.transparency, false); 572return new Rectangle(Point.Empty, size);
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (2)
24private Point movedDesignerImagePoint = Point.Empty; 170ActivityDesignerPaint.DrawImage(eventArgs.Graphics, this.draggedDesignerImages[i], new Rectangle(new Point(locations[i].X - 2 * ambientTheme.Margin.Width, locations[i].Y - 2 * ambientTheme.Margin.Height), imageSize), new Rectangle(Point.Empty, imageSize), DesignerContentAlignment.Fill, 0.4f, false);
AuthoringOM\Design\MessageFilters\GlyphManager.cs (1)
338ActivityDesigner[] containedDesigners = GetActivityDesigners(parentView.ClientRectangleToLogical(new Rectangle(Point.Empty, parentView.ViewPortSize)));
AuthoringOM\Design\MessageFilters\PanningMessageFilter.cs (3)
16private Point panPoint = Point.Empty; 85SetPanPoint(Point.Empty); 107this.panningActive = (this.panPoint != Point.Empty);
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (1)
181Point layoutOrigin = parentView.LogicalPointToClient(Point.Empty);
AuthoringOM\Design\ParallelActivityDesigner.cs (1)
402Rectangle[] dropTargets = GetDropTargets(Point.Empty);
AuthoringOM\Design\SequentialActivityDesigner.cs (2)
518Rectangle logicalViewPort = parentView.ClientRectangleToLogical(new Rectangle(Point.Empty, parentView.ViewPortSize)); 526Point glyphLocation = Point.Empty;
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
700return Point.Empty;
AuthoringOM\Design\WorkflowLayouts.cs (10)
142Rectangle workspaceRectangle = new Rectangle(Point.Empty, memoryBitmap.Size); 178ActivityDesignerPaint.DrawImage(graphics, ambientTheme.WorkflowWatermarkImage, this.parentView.RootDesigner.Bounds, new Rectangle(Point.Empty, ambientTheme.WorkflowWatermarkImage.Size), ambientTheme.WatermarkAlignment, AmbientTheme.WatermarkTransparency, false); 195Rectangle bitmapArea = new Rectangle(Point.Empty, memoryBitmap.Size); 382Point alignment = Point.Empty; 523graphics.FillRectangle(Brushes.White, new Rectangle(Point.Empty, memoryBitmap.Size)); 575ActivityDesignerPaint.DrawImage(graphics, ambientTheme.WorkflowWatermarkImage, viewPortBitmapArea, new Rectangle(Point.Empty, ambientTheme.WorkflowWatermarkImage.Size), ambientTheme.WatermarkAlignment, AmbientTheme.WatermarkTransparency, false); 596Rectangle workspaceRectangle = new Rectangle(Point.Empty, memoryBitmap.Size); 661Point bitmapDrawingPoint = Point.Empty; 804Point pageLocation = Point.Empty; 808Point viewablePageLocation = Point.Empty;
AuthoringOM\Design\WorkflowPrinting.cs (8)
36private Point totalPrintablePages = Point.Empty; //number of pages in x and y 37private Point currentPrintablePage = Point.Empty; //page number (in the grid x,y)) we are printing right now 38private Point workflowAlignment = Point.Empty; //amount of alignment translation 94this.currentPrintablePage = Point.Empty; 138ActivityDesignerPaint.DrawImage(graphics, ambientTheme.WorkflowWatermarkImage, boundingRectangle, new Rectangle(Point.Empty, ambientTheme.WorkflowWatermarkImage.Size), ambientTheme.WatermarkAlignment, AmbientTheme.WatermarkTransparency, false); 157Point scaledAlignment = Point.Empty; 313this.workflowView.RootDesigner.Location = Point.Empty; 352this.workflowAlignment = Point.Empty;
AuthoringOM\Design\WorkflowView.cs (9)
115private Point prePreviewScroll = Point.Empty; 349PointF oldRelativeCenter = Point.Empty; 1039viewPortData.LogicalViewPort = ClientRectangleToLogical(new Rectangle(Point.Empty, ViewPortSize)); 1535viewPortData.LogicalViewPort = new Rectangle(Point.Empty, new Size(rootDesigner.Bounds.Width + 2 * DefaultWorkflowLayout.Separator.Width, rootDesigner.Bounds.Height + 2 * DefaultWorkflowLayout.Separator.Height)); 1538viewPortData.Translation = Point.Empty; 1660viewPortGraphics.FillRectangle(shadowDepthBrush, new Rectangle(Point.Empty, new Size(memoryBitmap.Size.Width - viewPortData.ShadowDepth.Width - 1, memoryBitmap.Size.Height - viewPortData.ShadowDepth.Height - 1))); 1737Rectangle clientRectangle = ClientRectangleToLogical(new Rectangle(Point.Empty, ViewPortSize)); 2174Point clientPoint = Point.Empty; 2263return new Rectangle(this.workflowView.PointToScreen(Point.Empty), this.workflowView.ViewPortSize);