卡在printdocument控件上 [英] stuck on the printdocument control

查看:95
本文介绍了卡在printdocument控件上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

相当新的,可以使用一些帮助,编写一个小程序来平衡一天的业务,使用vs2012,并在我的计算机上运行Windows 7,它工作正常,得到一台新的计算机与窗口10,现在无法得到打印控制工作,继续给
我"printform1未声明,可能由于保护级别而无法访问"做了很多搜索,但没有帮助....会感激任何我能得到.....

解决方案

你好anooby,


您运行的是哪种应用程序?


由于本论坛将讨论VS IDE问题,我认为我们需要找到一个更合适的开发论坛这个问题。


也许某些事件没有正确生成,您可以为您的项目进行备份,然后打开另一个,删除并重新添加特定控件,双击它和生成偶数代码,从以前的项目中复制某些代码,查看
结果。


最好的问候,


杰克


pretty new at this, could use some help, wrote a small program for balancing a days business, using vs2012, and on my computer running windows 7, it works fine, got a new computer with window 10, now cant get the print control to work at all, keeps giving me "printform1 is not declared, may be inaccessible due to protection level" did a lot of searching, but no help....would appreciate any I can get.....

解决方案

Hi anooby,

Which kind of app did you run?

Since this forum is to discuss the VS IDE issue, I think we need to find a more appropriate developing forum for this issue.

Maybe certain event was not generated correctly, you could take a backup for your project, and then open another one, remove and re-add the specific control, double click it and generated the even code, copy certain code to it from previous project, view the result.

Best Regards,

Jack


这篇关于卡在printdocument控件上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆