7 references to CaptionButton
System.Windows.Forms (7)
winforms\Managed\System\WinForms\ControlPaint.cs (2)
1128
public static void DrawCaptionButton(Graphics graphics, Rectangle rectangle,
CaptionButton
button, ButtonState state) {
1136
public static void DrawCaptionButton(Graphics graphics, int x, int y, int width, int height,
CaptionButton
button, ButtonState state) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (5)
789
buttonToUse = (int)
CaptionButton
.Close;
795
buttonToUse = (int)
CaptionButton
.Minimize;
800
buttonToUse = (int)
CaptionButton
.Restore;
804
buttonToUse = (int)
CaptionButton
.Maximize;
820
ControlPaint.DrawCaptionButton(g, new Rectangle(Point.Empty, image.Size), (
CaptionButton
)buttonToUse, ButtonState.Flat);