I don't know how to do this
hi, I'm a beginner and I can't reproduce a functionality from another C# application fromapp, I'm trying to somehow make a listview that can display information on each item in the listview, I can make a screen of the app in question to be able to have the same functionality) thx!
22 Replies
$ask
How to get the best help :catpog:
Make a post in #help or one of the topic channels under Development.
Avoid asking
:catthinking: Can anybody help me?
:catthinking: Has anyone used XYZ?
:catthinking: Why doesn't my code work?
C# is a big area! No one knows they can help unless you tell them about the small area you're trying to work in.
Explain what you are doing, and potentially why for as much context as possible. Avoid screenshots where possible, share code directly in Discord. Type
$code
into chat to learn how to post code.
See https://www.nohello.net and https://dontasktoask.com if you want common help chat room etiquette.I read your question a couple of times, and I'm afraid I have no idea what you want help with
Unknown Userβ’6mo ago
Message Not Public
Sign In & Join Server To View
basically I want to do like this c# app :
its code is available on the dev website
and games do the same but I don't know how
GitHub
GitHub - CutFlame/MCDSaveEdit: Minecraft: Dungeons Save File Editor
Minecraft: Dungeons Save File Editor. Contribute to CutFlame/MCDSaveEdit development by creating an account on GitHub.
this the app of the dev
and therefore the itembox functionality, I would like to make it possible in my C# app
u wouldn't use a listview
u would use a FlowLayoutPanel
which lets u add controls and still format it
how use this ?
FlowLayoutPanel Control Overview - Windows Forms .NET Framework
Learn about an overview of the FlowLayoutPanel control, which arranges its contents in a horizontal or vertical flow direction.
u would have a much easier time with WPF thou for these sort of customizations
okay so I would just have to make a FlowLayoutPanel and add a label and picturebox for the image and the name of the item
I would make a usercontrol that represents the item you want to add to the panel
and add the usercontrol
I have already started and here is the result
It works extremely well for now
1 item selected sounds nicer
If you have no further questions, please use /close to mark the forum thread as answered
in short if I click on the "item 1" button the "item 1" goes to the other flowLayoutPanel
and unharmed
for all items
but
that works
thx angain!!
I even made an item limit for flowLayoutPanel 2 of 20 items