public void PrintCheckBox(System.Windows.Forms.Control c,
     ParentControlPrinting typePrint,
     MultiPageManagement mp,
     Single x, Single y,
     ref Single extendedHeight, out bool ScanForChildControls)
 {
     ScanForChildControls = false;
     Single h = mp.FontHeight(new Font(c.Font.Name, c.Font.Size));
     Single nY = mp._ConvertToPage(y);
     extendedHeight = mp.BeginPrintUnit(y, h);
     mp._G.DrawCheckBox(new RectangleF(x, nY, h, h), ((CheckBox)c).Checked);
     //mp.DrawRectangle(_Pen, x, y, h, h);
     //if (((CheckBox)c).Checked)
     //{
     //    Single d = 3;
     //    mp.DrawLines(_Pen, x + d, y + d, x + h - d, y + h - d);
     //    PointF[] points2 = new PointF[] { new PointF(x + h - d, y + d), new PointF(x + d, y + h - d) };
     //    mp.DrawLines(_Pen, x + h - d, y + d, x + d, y + h - d);
     //}
     PrintText(c, mp, (float)(x + (h * 1.4)), (float)y - 2, false, false, false, HorizontalAlignment.Left);
     mp.EndPrintUnit();
 }