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