Click here to Skip to main content
16,018,006 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Updated 7-Apr-16 4:37am
Comments
Jochen Arndt 7-Apr-16 9:58am    
What kind of graphic files are .COL files?
If the files are not in a common image file format you might not show them using existing libraries or functions but must implement the conversion to bitmaps yourself.
Member 12404741 7-Apr-16 10:29am    
it is having vertices and edges
Member 12404741 7-Apr-16 10:31am    
basically prob is to open an external file using c#.

1 solution

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.
 
Share this answer
 
Comments
Member 12404741 7-Apr-16 14:07pm    
do you have knowledge about libraries used for that purpose
Richard MacCutchan 7-Apr-16 14:11pm    
Yes, and you can learn about them for yourself by following those links and studying the documentation.
Member 12404741 7-Apr-16 14:17pm    
kindly provide me some material
Richard MacCutchan 7-Apr-16 14:22pm    
Please read my previous reply again.
Member 12404741 7-Apr-16 14:25pm    
ok thanks for kind consideration

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900