我如何在visual studio 2010中制作图形曲线? [英] How do I in visual studio 2010 makes a graphic curve?

查看:761
本文介绍了我如何在visual studio 2010中制作图形曲线?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hhi朋友

i使用视觉工作室210,我想使用一种方法,如果你有制作一个Grphic courbe?



< b>我尝试了什么:



i有我自己的程序,我想只想制作图形

hhi friends
i use a visual studio 210 and i want use a method if you have for makes a Grphic courbe ?

What I have tried:

i have my own program , i would like just idea for make the graphics

推荐答案

这取决于您正在创建的应用程序类型,以及您尝试显示的图形曲线类型。 我使用Visual Studio 2010并没有告诉我们任何有关它的信息,因为它支持大量可能的环境。



控制台应用程序无法执行图形处理:文本只是规则。所以你根本无法显示图形曲线。

Windows窗体应用程序可以:但是绘制曲线并不是很简单 - 它意味着处理Paint事件或OnPaint消息(取决于您的环境)并使用库中的绘图原始函数进行实际工作。或者你可以使用图表控件来为你做这个,如果你有想要绘制为曲线的数据点。

或者它可以是一个网站,它增加了它自己的一套可能性。 br />


我建议对于初学者,你退后一步,看看你可以工作的环境并决定你想要使用它们 - 因为它们是所有这些都以他们自己的方式复杂并且需要相当多的背景知识才能做更多的事情而不仅仅是展示Hello world! - 我们还不知道你已经掌握了多少背景。
That will depend on exactly what type of application you are creating, and what type of "graphic curve" you are trying to display. "I use Visual Studio 2010" doesn't tell us anything about that as it supports a huge range of possible environments.

A Console application can't do graphics: text only is the rule. So you can't display a graphics curve at all.
A Windows forms app can: but drawing curves is not exactly trivial - it means handling Paint events or OnPaint messages (depending on what your environment is) and doing the actual work using drawing primitive functions from libraries. Or you could use a charting control to do it for you if you have datapoints you want to plot as a "curve".
Or it could be a website, which adds it's own set of possibilities.

I'd suggest that for starters, you take a step back, have a look at the environments you can work in and decide which you want to use - as they are all complex in their own ways and require a fair amount of background knowledge before you can do much more than display "Hello world!" - and we have no idea how much of that background you have picked up yet.


这篇关于我如何在visual studio 2010中制作图形曲线?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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