C#中.net表单上的图形 [英] Graphics on .net Form in C#

查看:98
本文介绍了C#中.net表单上的图形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在c#中创建一个表单,在其中可以拖放诸如方形框之类的图形对象,然后将其分为行和列.该平台是.net.我是C#的新手.请帮助

I want to create a form in c# where I can drag and drop graphic objects such as a square box and later divide it into rows and columns. The platform is .net. I am totally new in c#. Please help

推荐答案

写道:​​

我在c#中是全新的.

I am totally new in c#.



这对您来说是一项疯狂的任务.通读一本C#书并首先学习该语言.如果您不了解面向对象的编码,请学习它.然后,您可以了解如何处理绘画事件并绘制自己的对象.

最终,您将创建一个对象的层次结构,这些对象知道如何在绘画事件中绘制自己.但是,正如我所说,如果您不熟悉C#,这是一个愚蠢的首选项目.



Then this is an insane task for you. Work through a C# book and learn the language first. Learn about object oriented coding, if you don''t know about it. Then you can learn about how to handle paint events and draw your own objects.

At the end of the day, you''ll create a heirarchy of objects that know how to draw themselves in your paint event. But, as I said, if you''re new to C#, this is a dumb first project choice.


感谢Christian的回答...

但是当我写的时候,我对C#还是陌生的,这意味着我对C#图形领域是陌生的.我非常了解oop和c ++....

我需要一些指导....
Thanks Christian for the answer ...

But when I wrote I am totally new to c# it meant that I am new to c# graphics area. I know oop and c++ pretty well....

I need some guidance ....


这篇关于C#中.net表单上的图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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