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