29 references to DrawLine
System.Windows.Forms (29)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (28)
200
hdc.
DrawLine
(penTopLeft, p1, p2); // Top (right-left)
201
hdc.
DrawLine
(penTopLeft, p2, p3); // Left (up-down)
210
hdc.
DrawLine
(penBottomRight, p3, p4); // Bottom (left-right)
211
hdc.
DrawLine
(penBottomRight, p4, p1); // Right (bottom-up)
225
hdc.
DrawLine
(insetPen, p1, p2); // Top (right-left)
226
hdc.
DrawLine
(insetPen, p2, p3); // Left (up-down)
235
hdc.
DrawLine
(bottomRightInsetPen, p3, p4); // Bottom (left-right)
236
hdc.
DrawLine
(bottomRightInsetPen, p4, p1); // Right (bottom-up)
251
hdc.
DrawLine
(shadowPen, p1, p2); // Top (right-left)
252
hdc.
DrawLine
(shadowPen, p2, p3); // Left(up-down)
257
hdc.
DrawLine
(highlightPen, p3, p4); // Bottom (left-right)
258
hdc.
DrawLine
(highlightPen, p4, p1); // Right (bottom-up)
270
hdc.
DrawLine
(facePen, p1, p2); // Top (right-left)
271
hdc.
DrawLine
(facePen, p2, p3); // Left (up-down)
280
hdc.
DrawLine
(insetPen, p3, p4); // Bottom (left-right)
281
hdc.
DrawLine
(insetPen, p4, p1); // Right (bottom-up)
303
hdc.
DrawLine
(topLeftPen, p1, p2); // Top (right-left)
304
hdc.
DrawLine
(topLeftPen, p2, p3); // Left (up-down)
313
hdc.
DrawLine
(bottomRightPen, p3, p4); // Bottom (left-right)
314
hdc.
DrawLine
(bottomRightPen, p4, p1); // Right (bottom-up)
328
hdc.
DrawLine
(topLeftInsetPen, p1, p2); // Top (right-left)
329
hdc.
DrawLine
(topLeftInsetPen, p2, p3); // Left (up-down)
338
hdc.
DrawLine
(bottomRightInsetPen, p3, p4); // Bottom (left-right)
339
hdc.
DrawLine
(bottomRightInsetPen, p4, p1); // Right (bottom-up)
359
hdc.
DrawLine
(topLeftPen, p1, p2); // top (right-left)
360
hdc.
DrawLine
(topLeftPen, p2, p3); // left (top-down)
366
hdc.
DrawLine
(bottomRightPen, p3, p4); // Bottom (left-right)
367
hdc.
DrawLine
(bottomRightPen, p4, p1); // Right (bottom-up)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
444
hdc.
DrawLine
(hpen, pt1, pt2);