i have one windows form with a button.when i click the button a graph is to be displayed.
A separate class has been created for creating a graph..with all member functions.
i call this class through the form.when button is triggered...the graph class is supposed to run.now...
final image is created..i can make out using breakpoints..
but i am unable to display the image...
line2d is the calss...line2d.getgraph is the function gor getting a graph.
how will i get it in form using memory stream..
an example from codeproject froums is give ..plz refer to LineChart application.but user used webforms for displaying final image...the last 2 lines of the apllication are given below.
Bitmap bmp = line2d.GetGraph();