System.Windows.Forms.ThemeWin32Classic.DrawTitleButton C# (CSharp) Method

DrawTitleButton() private method

private DrawTitleButton ( Graphics dc, System.Windows.Forms.TitleButton button, Rectangle clip, Form form ) : int
dc System.Drawing.Graphics
button System.Windows.Forms.TitleButton
clip System.Drawing.Rectangle
form Form
return int
		private int DrawTitleButton (Graphics dc, TitleButton button, Rectangle clip, Form form)
		{
			if (!button.Visible) {
				return int.MaxValue;
			}
			
			if (button.Rectangle.IntersectsWith (clip)) {
				ManagedWindowDrawTitleButton (dc, button, clip, form);
			}
			return button.Rectangle.Left;
		}
ThemeWin32Classic