private void DrawTotales() { OrderTotal ordTot = new OrderTotal('?'); foreach (string total in totales) { line = ordTot.GetTotalCantidad(total); line = AlignRightText(line.Length) + line; gfx.DrawString(line, printFont, myBrush, leftMargin, YPosition(), new StringFormat()); leftMargin = 0; line = " " + ordTot.GetTotalName(total); gfx.DrawString(line, printFont, myBrush, leftMargin, YPosition(), new StringFormat()); count++; } leftMargin = 0; DrawEspacio(); DrawEspacio(); }