
打印机的问题
在使用打印机控件时,出现一个提示对话框,其提示信息为:
未处理的 System.ArgumentException 类型的异常出现在System.windows.form.dll中
其他信息:PrintDialog需要PrintSetting对象才能显示.请设置PrintDialog.Document(首选)或PrintDialog.PrinterSettings.
并且在PrintDialog1.ShowDialog()语句上出现一条绿色覆盖线
各位大哥,这是何故?
__________________________________________________________________________
哥哥姐姐,叔叔阿姨们,快来帮帮忙呀
__________________________________________________________________________
执行PrintDialog.Show之前插入
PrintDialog.Document = Me.PrintDocument
__________________________________________________________________________
ok了,非常谢谢你
__________________________________________________________________________