请帮助我启用输入代码 [英] please help me to enable enter code

查看:66
本文介绍了请帮助我启用输入代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想在我按输入按钮时打印表格先生,请帮我

want to print a form when i press a enter button help me sir

推荐答案

如果这与您有关,则是其他问题 PrintForm类 [ ^ ]您可以在VB或C#中使用它.
2)使用 ^ ]并正确完成工作

第二种方法比较复杂(但不是太糟糕),但它产生的输出要比第一种好得多.从长远来看,它也更加灵活,值得学习.

如果您阅读了这两个链接,并从那里找到了相应的链接,这两个链接都将为您提供示例代码.
If this is related to you other question printing code in ado.net[^] then you talk about forms - so there are two ways to print your form:
1) Add the VB powerpacks PrintForm class[^] You can use this in VB or C#.
2) Use a PrintDocument class[^] and do the job properly

The second approach is a bit more complex (but not too bad) but it produces much, much better output than the first. It is also more flexible in the long run and worth learning.

Both of the links will give you sample code if you read them and follow the appropriate links from there.


这篇关于请帮助我启用输入代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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