G
Guest
I am not a programmer, I'm an engineer trying to make an interface to a
product I'm designing. I have used C# to make a form that interrogates the
unit via the serial port and receives the data. I want to be able to draw
lines in a picturebox based upon certain data points I have received. I
dragged a picturebox from the toolbar onto my form, but after having gone
through the help files, looking online and trying a variety of things, I
absolutely cannot seem to draw lines on the picturebox. The sample code in
the help files seems to assume that I knwo more about the process than I do,
as I can find nothing that says, "How to draw lines in a picturebox". I was
able to successfully add a background image, but I'm also wondering if this
graphic data has to accompany the application, or if it gets "embedded" into
the actual application?
At any rate, is there a tutorial that gives some explicit instructions as to
how to use a method (not part of the picturebox click event handler) to write
to the picturebox. If I can't do this, then how can I easily do it? The lines
have to be able to be easily updated when new data are read in.
product I'm designing. I have used C# to make a form that interrogates the
unit via the serial port and receives the data. I want to be able to draw
lines in a picturebox based upon certain data points I have received. I
dragged a picturebox from the toolbar onto my form, but after having gone
through the help files, looking online and trying a variety of things, I
absolutely cannot seem to draw lines on the picturebox. The sample code in
the help files seems to assume that I knwo more about the process than I do,
as I can find nothing that says, "How to draw lines in a picturebox". I was
able to successfully add a background image, but I'm also wondering if this
graphic data has to accompany the application, or if it gets "embedded" into
the actual application?
At any rate, is there a tutorial that gives some explicit instructions as to
how to use a method (not part of the picturebox click event handler) to write
to the picturebox. If I can't do this, then how can I easily do it? The lines
have to be able to be easily updated when new data are read in.