hey everyone,
I am working on a code snippet manager, and I am going to use a listview control to store all of the different programming languages, and then under the main language have different code snippets that can be used. So for example if the main programming language is C# it would be like this:
C#
Save File
Open File
C++
Save File
Open File
That is just an example, but that is what I want it to happen. My question is, how do I make an item in a listview which would make it look like that? I can't find the answer anywhere and I have never used a listview before! My other question is, how would I store the code snippet with the title so that it shows up like that? I also want to add a functionality where the user can add their own code snippet to it. But I am unsure of that too.
Is there any other way of doing this that would work the same way? I want it to all connect to a database, so if one person adds the snippet other people can see it as well. Or if the user doesn't want it like that, then it will be held personal. Any type of help will help. I am using C# WinForms on .NET 4.0.
Thanks guys!