29 references to DrawLine
System.Windows.Forms (29)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (28)
150
hdc.
DrawLine
(penTopLeft, p1, p2); // Top (right-left)
151
hdc.
DrawLine
(penTopLeft, p2, p3); // Left (up-down)
160
hdc.
DrawLine
(penBottomRight, p3, p4); // Bottom (left-right)
161
hdc.
DrawLine
(penBottomRight, p4, p1); // Right (bottom-up)
175
hdc.
DrawLine
(insetPen, p1, p2); // Top (right-left)
176
hdc.
DrawLine
(insetPen, p2, p3); // Left (up-down)
185
hdc.
DrawLine
(bottomRightInsetPen, p3, p4); // Bottom (left-right)
186
hdc.
DrawLine
(bottomRightInsetPen, p4, p1); // Right (bottom-up)
201
hdc.
DrawLine
(shadowPen, p1, p2); // Top (right-left)
202
hdc.
DrawLine
(shadowPen, p2, p3); // Left(up-down)
207
hdc.
DrawLine
(highlightPen, p3, p4); // Bottom (left-right)
208
hdc.
DrawLine
(highlightPen, p4, p1); // Right (bottom-up)
220
hdc.
DrawLine
(facePen, p1, p2); // Top (right-left)
221
hdc.
DrawLine
(facePen, p2, p3); // Left (up-down)
230
hdc.
DrawLine
(insetPen, p3, p4); // Bottom (left-right)
231
hdc.
DrawLine
(insetPen, p4, p1); // Right (bottom-up)
253
hdc.
DrawLine
(topLeftPen, p1, p2); // Top (right-left)
254
hdc.
DrawLine
(topLeftPen, p2, p3); // Left (up-down)
263
hdc.
DrawLine
(bottomRightPen, p3, p4); // Bottom (left-right)
264
hdc.
DrawLine
(bottomRightPen, p4, p1); // Right (bottom-up)
278
hdc.
DrawLine
(topLeftInsetPen, p1, p2); // Top (right-left)
279
hdc.
DrawLine
(topLeftInsetPen, p2, p3); // Left (up-down)
288
hdc.
DrawLine
(bottomRightInsetPen, p3, p4); // Bottom (left-right)
289
hdc.
DrawLine
(bottomRightInsetPen, p4, p1); // Right (bottom-up)
309
hdc.
DrawLine
(topLeftPen, p1, p2); // top (right-left)
310
hdc.
DrawLine
(topLeftPen, p2, p3); // left (top-down)
316
hdc.
DrawLine
(bottomRightPen, p3, p4); // Bottom (left-right)
317
hdc.
DrawLine
(bottomRightPen, p4, p1); // Right (bottom-up)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
325
hdc.
DrawLine
(hpen, pt1, pt2);