30-10-12, 04:17 AM
وضعتها بعد اداة الشرط في هذا الكود ولكن ظهرت لي اخطاء في الكلمات الحمراء
هل اخطآت انا ام ماذا ؟؟؟
كود :
If PageSetupDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
[color=#FF0000]document.DefaultPageSettings.pagesettings[/color].margins.bottom = [color=#FF0000]PageSetupDialog.PageSettings[/color].margins.bottom
AddHandler document.PrintPage, New PrintPageEventHandler(AddressOf PrintDocument)
document.Print()
End Ifهل اخطآت انا ام ماذا ؟؟؟

