0
打印在Win7 x86,Windows XP上運行。 在Windows 7 x64上,此代碼不執行任何操作。它也沒有拋出任何的消息。 我不知道,谷歌沒有幫助。 也許有人有這個問題的經驗? 謝謝。new WinForms.PrintDialog()在Windows 7上不做任何事情x64
System.Drawing.Font printFont = new System.Drawing.Font("Courier New", 10);
DataTablePrintDocument printDoc = new DataTablePrintDocument(this, printFont);
WinForms.PrintDialog dlg = new WinForms.PrintDialog();
WinForms.DialogResult result = dlg.ShowDialog();
嗨,你的意思是恢復字體? – user1283791
這將幫助您找到還原按鈕:http://answers.microsoft.com/en-us/windows/forum/windows_7-desktop/how-to-restore-windows-7-default-fonts/73a8eb3e-3189 -4514-b87c-18fcdca4fe26 – Rob
謝謝,但在Windows上更改字體不是解決方案。我正在構建必須在任何win7 x64計算機上工作的應用程序。 – user1283791