❔ Cards Windows Forms App

I need to make this for a school project, but I have no idea how to start this. I don't want to get the code. But it would be nice if i get some advice. Thx
24 Replies
TomasGnG 😴
TomasGnG 😴8mo ago
My idea: - list of all images - next button: get the next item from list (probably save the active image id) - previous button: get the the image (current id-1)
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
sibber
sibber8mo ago
first of all create the project and make the ui then try to think of how to display images
CyberPenguin_
CyberPenguin_8mo ago
The problem is, we cant use a list/array bc we havnt 'learned' it yet
sibber
sibber8mo ago
you can't use an array?
Murten
Murten8mo ago
Do it anyway.
CyberPenguin_
CyberPenguin_8mo ago
No we havn't learned it yet, so I can't use it
sibber
sibber8mo ago
you havent learned arrays but you learned winforms? are you sure?
walter
walter8mo ago
What are you allowed to use?
Murten
Murten8mo ago
Are you allowed to use any collection type?
CyberPenguin_
CyberPenguin_8mo ago
I don't think so Yeah, we started directly with winforms. We are learning C# through winforms
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
CyberPenguin_
CyberPenguin_8mo ago
No I understand, but I don't have any idea how I can do it. I know partly what arrays are. But if we didn't used it in class. I can't use it I will just skip it then idk
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
CyberPenguin_
CyberPenguin_8mo ago
no
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
CyberPenguin_
CyberPenguin_8mo ago
no
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
CyberPenguin_
CyberPenguin_8mo ago
it's holidays were i live, and it needs to be done the day after holidays :)
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
CyberPenguin_
CyberPenguin_8mo ago
Yeah, I will thx
Murten
Murten8mo ago
There's really no good solution to this problem without using an array or list or something of that sort.
Bailey
Bailey8mo ago
there are different sollutions namely: - use an array - use a switch for 2,3, 4 and another var to determen the type (example hart, etc) - use an if construction (too much code but can be done) - use a single counter and load the images where the images have an extension from e.g. 01 to 52. and when higher then 52, go to 1. e.g. card01.jpg card02.jpg and so on do all the cards have to be availeble or only the first 5. if it's only the first 5 an switch is not that much work.
Accord
Accord8mo 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.