画线,矩形,圆 [英] Draw line ,rectangle,circle

查看:111
本文介绍了画线,矩形,圆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我如何在运行时在Windows窗体中绘制矩形和圆形.还提供代码.使用c#.net

Can anybody tell me as how to draw a line rectangle and circle in the windows form at the runtime .Give code also.using c#.net

推荐答案

是这是一个交叉岗位? :mad:

检查一下:

用鼠标绘制 [
Is this a cross post ?? :mad:

Check this :

Draw with Mouse[^]

To draw use DrawRectangle, DrawEllipse etc methods available in Graphics object.


是的,如果您没有答复,则可以将其删除. ..
Yes, it is and if you didn''t reply then it would have been able to be deleted...


写道:​​

还提供了代码.



不,我们不会为您编写它.您已经得到了解释,并找到了一些类似内容的链接.现在,您需要编写自己的代码.我们在这里为您提供代码帮助,而不是为您编写代码.

而且不要问两次,那是无礼的高度.多数情况下,大多数人都是同一个人,您不希望这些人无视您,因为您粗鲁,不耐烦且要求苛刻.



No. We''re not going to write it for you. You''ve been given an explanation and a link to something a little similar. Now you need to write your own code. We''re here to help you with your code, not write it for you.

And don''t ask twice, that is the height of rudeness. It''s the same handful of people who do most of hte answering, you don''t want those people to ignore you because you are rude, impatient and demanding.


这篇关于画线,矩形,圆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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