Variety is the spice of life.
You can also use the Pen tool to create the curved shape lines, then fill the path --
after drawing the path, with the Pen tool selected, right-click the canvas and choose "Fill Path".
NOTE: when using the Pen tool here, make sure that the "Paths" option is selected in the Options Bar for the tool. (
located on the far left of the Bar [2nd icon])
The Line tool is then used on a new layer to create the horizontal lines. Turn OFF the Anti-Aliasing for the tool when drawing straight lines. Otherwise your lines will be a bit fuzzy.
NOTE: as you did for the Path tool, make sure that when using the Line tool, the "Fill Pixels" options is selected in the Options Bar. (
also located on the left [3rd icon]).