❔ 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
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•13mo ago
Message Not Public
Sign In & Join Server To View
first of all create the project and make the ui
then try to think of how to display images
The problem is, we cant use a list/array bc we havnt 'learned' it yet
you can't use an array?
Do it anyway.
No we havn't learned it yet, so I can't use it
you havent learned arrays but you learned winforms?
are you sure?
What are you allowed to use?
Are you allowed to use any collection type?
I don't think so
Yeah, we started directly with winforms. We are learning C# through winforms
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
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•13mo ago
Message Not Public
Sign In & Join Server To View
no
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
no
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
it's holidays were i live, and it needs to be done the day after holidays :)
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
Yeah, I will thx
There's really no good solution to this problem without using an array or list or something of that sort.
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.
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.