45 references to DrawRectangle
System.Drawing (1)
commonui\System\Drawing\Graphics.cs (1)
1411
DrawRectangle
(pen, rect.X, rect.Y, rect.Width, rect.Height);
System.Web.DataVisualization (2)
Common\General\Chart.cs (1)
375
offScreen.
DrawRectangle
(pen, 0, 0, Width, Height);
Common\General\GdiGraphics.cs (1)
197
_graphics.
DrawRectangle
( pen, x, y, width, height );
System.Windows.Forms (33)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
608
g.
DrawRectangle
(pen, r.X, r.Y, r.Width - 1, r.Height - 1);
winforms\Managed\System\WinForms\Control.cs (1)
9744
e.Graphics.
DrawRectangle
(pen, rectangle.X, rectangle.Y, rectangle.Width - 1, rectangle.Height - 1);
winforms\Managed\System\WinForms\ControlPaint.cs (5)
1100
graphics.
DrawRectangle
(pen, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
1304
graphics.
DrawRectangle
(pen, offsetRectangle.X, offsetRectangle.Y, offsetRectangle.Width - 1, offsetRectangle.Height - 1);
1677
graphics.
DrawRectangle
(pen, rectangle.X, rectangle.Y, rectangle.Width - 1, rectangle.Height - 1);
1679
graphics.
DrawRectangle
(pen, rectangle.X, rectangle.Y, rectangle.Width - 1, rectangle.Height - 1);
1688
graphics.
DrawRectangle
(pen, rectangle.X, rectangle.Y, rectangle.Width - 1, rectangle.Height - 1);
winforms\Managed\System\WinForms\DataGridCaption.cs (1)
563
g.
DrawRectangle
(this.textBorderPen, textBounds.X, textBounds.Y, textBounds.Width - 1, textBounds.Height - 1);
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (2)
662
g.
DrawRectangle
(SystemPens.ControlText, relRect.X, relRect.Y, relRect.Width - 1, relRect.Height - 1);
760
g.
DrawRectangle
(drawPen, outline.X, outline.Y, outline.Width - 1, outline.Height - 1);
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
2063
g.
DrawRectangle
(p, outline.X, outline.Y, outline.Width - 1, outline.Height - 1);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
3566
g.
DrawRectangle
(borderPen, 0, 0, sizeWindow.Width - 1, sizeWindow.Height - 1);
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (9)
145
g.
DrawRectangle
(SystemPens.ButtonHighlight, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
150
g.
DrawRectangle
(SystemPens.ButtonHighlight, bounds.X, bounds.Y, bounds.Width-1, bounds.Height -1);
175
e.Graphics.
DrawRectangle
(SystemPens.ButtonHighlight, 0, 0, e.Item.Width - 1, e.Item.Height - 1);
233
g.
DrawRectangle
(SystemPens.ButtonHighlight, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
245
g.
DrawRectangle
(SystemPens.ButtonShadow, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
399
g.
DrawRectangle
(SystemPens.Highlight, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
402
g.
DrawRectangle
(SystemPens.ControlLight, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
427
g.
DrawRectangle
(SystemPens.ControlLight, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
432
g.
DrawRectangle
(SystemPens.ControlLight, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
821
g.
DrawRectangle
(SystemPens.Control, 0, 0, image.Width - 1, image.Height - 1);
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (9)
335
g.
DrawRectangle
(p, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
347
g.
DrawRectangle
(p, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
523
g.
DrawRectangle
(p, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
566
g.
DrawRectangle
(p, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
921
g.
DrawRectangle
(p, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
931
g.
DrawRectangle
(SystemPens.Highlight, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
947
g.
DrawRectangle
(p, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
1039
g.
DrawRectangle
(p, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
1396
g.
DrawRectangle
(p, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (1)
413
g.
DrawRectangle
(p, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
881
g.
DrawRectangle
(p, 0, 0, this.Width - 1, this.Height - 1);
System.Windows.Forms.DataVisualization (2)
Common\General\Chart.cs (1)
375
offScreen.
DrawRectangle
(pen, 0, 0, Width, Height);
Common\General\GdiGraphics.cs (1)
197
_graphics.
DrawRectangle
( pen, x, y, width, height );
System.Workflow.ComponentModel (7)
AuthoringOM\Design\DesignerWidgets.cs (3)
1226
graphics.
DrawRectangle
(SystemPens.ControlDarkDark, this.formRectangle.X, this.formRectangle.Y, this.formRectangle.Width - 1, this.formRectangle.Height - 1);
1240
graphics.
DrawRectangle
(SystemPens.ActiveCaption, itemBounds.X, itemBounds.Y, itemBounds.Width - 1, itemBounds.Height - 1);
3413
graphics.
DrawRectangle
(Pens.Black, this.previewModeButtonRectangle.Left - 1, this.previewModeButtonRectangle.Top - 1, this.previewModeButtonRectangle.Width + 1, this.previewModeButtonRectangle.Height + 1);
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
545
e.Graphics.
DrawRectangle
(SystemPens.ControlDark, 0, 0, this.themePanel.ClientSize.Width - 1, this.themePanel.ClientSize.Height - 2);
AuthoringOM\Design\Glyphs\ConfigErrorGlyph.cs (1)
84
graphics.
DrawRectangle
(SystemPens.ControlDarkDark, activatedBounds.Left, activatedBounds.Top, activatedBounds.Width - 1, activatedBounds.Height - 1);
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (1)
122
e.Graphics.
DrawRectangle
(ambientTheme.SelectionForegroundPen, dragRectangle.X, dragRectangle.Y, dragRectangle.Width - 1, dragRectangle.Height - 1);
AuthoringOM\Design\WorkflowLayouts.cs (1)
690
graphics.
DrawRectangle
(ambientTheme.ForegroundPen, pageLayoutData.ViewablePageBounds.Left - 3, pageLayoutData.ViewablePageBounds.Top - 3, pageLayoutData.ViewablePageBounds.Width + 6, pageLayoutData.ViewablePageBounds.Height + 6);