Mohammad Olwan
{ y = 50; e.HasMorePages = true; return; }
{
y = 50;
e.HasMorePages = true;
return;
}
if (DataGridView2.Rows[i].Cells[5].Value.ToString() == label10.Text) { e.Graphics.DrawString(DataGridView2.Rows[i].Cells[0].Value.ToString(), font , Brushes.Black, new Point(770, y + 7), format1);.............. y += 35;}
if (DataGridView2.Rows[i].Cells[5].Value.ToString() == label10.Text)
e.Graphics.DrawString(DataGridView2.Rows[i].Cells[0].Value.ToString(), font , Brushes.Black, new Point(770, y + 7), format1);
..............
y += 35;