18-01-24, 12:48 PM
عدل هذا في Module DataGridViewPrinter للطباعة
PHP كود :
If i = 5 Then
e.Graphics.DrawString(Format(oCell.Value, "dd/MM/yyyy"), oCell.InheritedStyle.Font, New SolidBrush(oCell.InheritedStyle.ForeColor), New RectangleF(oColumnLefts(i), nTop, oColumnWidths(i), nHeight), oStringFormat)
Else
e.Graphics.DrawString(oCell.Value.ToString, oCell.InheritedStyle.Font, New SolidBrush(oCell.InheritedStyle.ForeColor), New RectangleF(oColumnLefts(i), nTop, oColumnWidths(i), nHeight), oStringFormat)
End If

