❔ Im a beginner doing a graphical assignment in windows forms
So basically im in an online class and the teacher gave us an assignment to do a forms project that has a picturebox and a few buttons. when a button is clicked a correct drawing is supposed to show in the picturebox but i cant get it to show the right drawing. ive used the help of some ai bots but i just cant get it to work correctly. any help is appreciated. ive attached a pic of the code aswell.
15 Replies
(why don't you use floating numbers, 8 + 1/2 is 8.5)
We will not do your homework for you, we do not condone cheating.
Havent asked anyone to do my homework. Im stuck and i asked for help. Since the teacher gave us permission to use other sources(AI, Google etc) Im asking help here.
A Line graph chains together the lines.
Start point is the end of the previous node. Unless it is the first node.
im at the brink of giving up . looks like this now
well it's getting better
Why is it supposed to look like what it looks like? What is the assignment exactly? We can't help you if we don't know why something is right or wrong
its supposed to draw using bitmapper. the object drawed should be 5 diagonal lines going from the left side of the picturebox to the right side of the picturebox
you're getting dimensions wrong and rotation wrong (so x <=> y i guess)
start by putting some names for the constants in your code, so that it's a little more readable
made some progress
how would i start drawing this with bitmapper?
Looks like a bunch of ellipses
you could make that with a for loop and the DrawEllipse function, with each iteration move the origin of the ellipse to the left and increase its width
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.