Archived

This topic is now archived and is closed to further replies.

Multi-Column Listbox :: C#

This topic is 5500 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi. I am a C++ and MFC programmer. I have been forced to code a simple C# program at school. Frankly, I feel threaten. Secondly, I find C# confused. Everything is "Win Form." Where the heck are all the code behind the program? Anyways, I am desperately in need of help. Here is the basic program. Buttons = 2 Edit boxes = 3 Listbox = 1 The idea is to enter information in one the three edit boxes and then click a button to add it to a list box. Right now I want to add multicolumns to the listbox. Please post if you have experience with C# and can point out all the shortcuts. This is a very simple introductory program. Thanks, Kuphryn

Share this post


Link to post
Share on other sites
quote:
Original post by kuphryn
I did not see anything about adding multiple items to a listbox. Maybe you can find it. Post if you find it.


ok. step 1:


step 2:


step 3:

quote:

I said "code," as in algorithms, not a dozen likes of class declarations!


you won''t see winforms source code, and you''ll see your code when you write some. in the meantime, all code you''ve got is probably in InitializeComponent.

Share this post


Link to post
Share on other sites