使用C#加载和显示图形文件 [英] Loading and showing graph file using C#

查看:90
本文介绍了使用C#加载和显示图形文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,我有一个扩展名为.col的图形文件,我想用我现在已经完成的眉毛按钮加载它我希望代码在一个单独的面板中显示图形,使用c#绘制在我的表单中...



我的尝试:



i经验较少因为我在网上搜索的不是根据我的问题

hey i have a graph file with extension .col i want to load it using a brows button that i have done now i want code for showing graph in a seperate pannel that is drawn in my form using c#........

What I have tried:

i have less experience of c sharp so what i searched over net was not according to my problem

推荐答案

参见文件和流I / O [ ^ ];这应该可以帮助您阅读文件。然后你需要研究使用图形类(系统) .Drawing) [ ^ ]绘制数据。
See File and Stream I/O[^]; that should help you read the file. Then you need to study the use of the Graphics Class (System.Drawing)[^] to plot your data.


这篇关于使用C#加载和显示图形文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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