❔ 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.
No description
No description
No description
15 Replies
not guilty
not guilty9mo ago
(why don't you use floating numbers, 8 + 1/2 is 8.5)
Buddy
Buddy9mo ago
We will not do your homework for you, we do not condone cheating.
Imagine Wagons
Imagine Wagons9mo ago
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.
Buddy
Buddy9mo ago
A Line graph chains together the lines. Start point is the end of the previous node. Unless it is the first node.
No description
Imagine Wagons
Imagine Wagons9mo ago
im at the brink of giving up harold . looks like this now
No description
not guilty
not guilty9mo ago
well it's getting better
SWR
SWR9mo ago
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
Imagine Wagons
Imagine Wagons9mo ago
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
not guilty
not guilty9mo ago
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
Imagine Wagons
Imagine Wagons9mo ago
No description
Imagine Wagons
Imagine Wagons9mo ago
made some progress
Imagine Wagons
Imagine Wagons9mo ago
how would i start drawing this with bitmapper?
No description
SWR
SWR9mo ago
Looks like a bunch of ellipses
Will
Will9mo ago
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
Accord
Accord9mo ago
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.
Want results from more Discord servers?
Add your server
More Posts