March 3rd, 2010, 07:24 AM
Thanks, ill keep that in mind!
March 2nd, 2010, 08:37 AM
I took away the Refresh() and my graph now appears without having to call the OnPaint method! If one did need to call it one could probably use the following code in the constructor:
...
March 2nd, 2010, 03:40 AM
I read that when overriding OnPaint in a derived class, one must be sure to call the base class's OnPaint method so that registered delegates receive the event...
March 1st, 2010, 11:42 AM
Thank you, I have followed your advice and have created a new windows form. In the initialization method of the windows form I call up the method to create the graph:
public partial class...
February 26th, 2010, 10:37 AM
Is that necessary? I thought it would create a form according to the default value. But shouldnt the graph image come up just by using the following method? I ve seen that on many examples.
...
February 26th, 2010, 08:46 AM
I have created a line graph in C# but it doesnt appear. Ideally I would like it to displayed on a new Windows Form or in IE. This is the code I used to plot it on stage:
protected void...