如何在C#中绘制 [英] How to Drawtable in c#
本文介绍了如何在C#中绘制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
朋友,
目前,我正在开发.net窗口应用程序.在这里,我需要创建矩形,圆形和table.so,请您告诉我如何通过c#编码绘制表.
预先谢谢您.
Hi Friends,
Presently i m working on a .net window application.here i need to create rectangle ,circle and table.so can you please tell me how to draw table through c# coding.
thank you in advance
推荐答案
处理绘画事件.使用通过事件args传递的图形对象来绘制您内心想要的任何东西.
Handle your paint event. Use the graphics object passed in through the event args to draw anything your heart desires.
可能对启动有所帮助,
gdi_plus [ draw-a-rectangle-in-c-sharp-using-mouse/ [^ ]
IntroTo2DGraphics [
Might be helpful to start,
gdi_plus[^]
draw-a-rectangle-in-c-sharp-using-mouse/[^]
IntroTo2DGraphics[^]
:)
^ ]
这篇关于如何在C#中绘制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文