如何创建A3尺寸的考勤表? [英] How do I create an A3 size attendance sheet?

查看:132
本文介绍了如何创建A3尺寸的考勤表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在办公室工作,我们必须使用excel表设计一个月的出勤登记表,标记日期和假期并输入员工姓名。我需要使用vb.net设计A3尺寸的文档或图片框来简化此过程。我不需要处理数据,因为工作表将被打印,员工将在硬拷贝中每天签名。我只需输入month& amp就可以轻松设计页面。年份和所有员工姓名。我也需要A3尺寸。任何帮助?我会自己编写代码。我只需要一些建议。 TY。注意:我是.net的初学者。 (我曾经在vb6中编码)



我尝试过:



我尝试过使用Excel,但现在我需要通过程序轻松完成。

I work in an office where we have to design a month's attendance register using excel sheet by marking days and holidays and typing employee names. I need to design an A3 size document or a picturebox using vb.net to simplify this process. I don't need to work with data as the sheet will be printed and employees will sign it everyday in hardcopy. I just need to design the page easily by just entering month & year and all employee names. I need it in A3 size too. Any Help? I will code it myself . I just need some advice. TY. NB: I am a beginner in .net. (I used to code in vb6)

What I have tried:

I have tried using Excel but now I need to do it easily by program.

推荐答案

我们不能给你完整的细节 - 它是一个整体应用程序,并且需要比我们在这样的小文本框中提供的更多!



但是打印相对简单:使用PrintDocument Class(System.Drawing.Printing) [ ^ ]你可以完全控制发生的事情。

在PrintPage事件处理程序中,你可以使用DrawLine和DrawString来绘制框和文本,以便根据需要填充空白。如果您有A3打印机,您可以完全控制要打印的所有内容的大小和位置。

(该链接包含一个非常基本的示例,但您可以在Google上找到更全面的示例。)



如果您遇到困难具体点,然后请询问,我们会尽力帮助。但我们不能为你做到这一切!
We can't give you the "full details" - it's a whole app, and would need more than we can provide in a little textbox like this!

But printing is relatively simple: use the PrintDocument Class (System.Drawing.Printing)[^] and you have full control over what happens.
In the PrintPage event handler, you can use DrawLine and DrawString to draw boxes and text to "fill in the blanks" as you need. Provided you have an A3 printer, you will have full control over the size and location of everything you want to print.
(The link includes a very basic example, but you can find much more comprehensive ones with Google.)

If you get stuck at a specific point, then please ask about that and we will do our best to help. But we can't do it all for you!


这篇关于如何创建A3尺寸的考勤表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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