Click here to Skip to main content
15,902,447 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Problem with Drawing [modified] Pin
Dave Kreskowiak7-Jul-06 4:30
mveDave Kreskowiak7-Jul-06 4:30 
GeneralRe: Problem with Drawing Pin
Nagaraju_Focus7-Jul-06 18:46
Nagaraju_Focus7-Jul-06 18:46 
QuestionWhere does the .config file reside [modified] Pin
nicknotyet6-Jul-06 11:48
nicknotyet6-Jul-06 11:48 
AnswerRe: Where does the .config file reside Pin
mr_lasseter6-Jul-06 16:34
mr_lasseter6-Jul-06 16:34 
GeneralRe: Where does the .config file reside Pin
nicknotyet7-Jul-06 8:30
nicknotyet7-Jul-06 8:30 
QuestionI love Debug Spew, but I need help containing it. Pin
nicknotyet6-Jul-06 11:03
nicknotyet6-Jul-06 11:03 
AnswerRe: I love Debug Spew, but I need help containing it. Pin
Josh Smith7-Jul-06 4:56
Josh Smith7-Jul-06 4:56 
QuestionListBox using external datastructure Pin
invictus36-Jul-06 9:57
invictus36-Jul-06 9:57 
Hi
I am a former java/swing programmer who just started programming C#.NET. When starting to create complex gui-applications I realized that I dont know how to attach a datastructure to a ListBox component.

What I want is to use a external arraylike structure to control the content of a ListBox. When updating this arraylike structur (adding, removing, modifying, etc) the ListBox also should be updated automaticly. I have not figured out how to do this in C#.NET yet, but its really easy in java/swing. There I could just to something like:

Vector<string> structure = new Vector<string>();
JList list = new JList(structure);

and after this all operations on "structure" would also affect the JList content.

Another approach was to create a class that inherited ListModel and override some methods for fetching info about the structure.

Any good advice about how I can achive the same using C#.NET? This is basicly all I miss from java so far.

Thanks so much for the help.
AnswerRe: ListBox using external datastructure Pin
Josh Smith6-Jul-06 10:08
Josh Smith6-Jul-06 10:08 
GeneralRe: ListBox using external datastructure Pin
invictus36-Jul-06 11:02
invictus36-Jul-06 11:02 
GeneralRe: ListBox using external datastructure Pin
Josh Smith6-Jul-06 18:06
Josh Smith6-Jul-06 18:06 
GeneralRe: ListBox using external datastructure Pin
invictus37-Jul-06 2:03
invictus37-Jul-06 2:03 
QuestionNaming a exe in task manager Pin
Arun Kumar Babu5-Jul-06 22:40
Arun Kumar Babu5-Jul-06 22:40 
AnswerRe: Naming a exe in task manager Pin
Dave Kreskowiak6-Jul-06 2:30
mveDave Kreskowiak6-Jul-06 2:30 
AnswerRe: Naming a exe in task manager Pin
Paul Conrad6-Jul-06 23:39
professionalPaul Conrad6-Jul-06 23:39 
QuestionTypeCodeDomSerializer Pin
Kai Apfelbaum5-Jul-06 20:15
Kai Apfelbaum5-Jul-06 20:15 
QuestionEncrypting proxy!? Pin
aloaiza5-Jul-06 6:29
aloaiza5-Jul-06 6:29 
QuestionWPF, XPS, Printing Pin
GerhardKreuzer5-Jul-06 4:29
GerhardKreuzer5-Jul-06 4:29 
QuestionHow to execute batch file during installation Pin
Kamran Younus5-Jul-06 1:02
Kamran Younus5-Jul-06 1:02 
AnswerRe: How to execute batch file during installation Pin
Dave Kreskowiak5-Jul-06 3:01
mveDave Kreskowiak5-Jul-06 3:01 
Questionpocket pc Pin
raju12485-Jul-06 0:57
raju12485-Jul-06 0:57 
AnswerRe: pocket pc Pin
Dave Kreskowiak5-Jul-06 3:00
mveDave Kreskowiak5-Jul-06 3:00 
QuestionHow to apply certain commands during installation Pin
Kamran Younus5-Jul-06 0:53
Kamran Younus5-Jul-06 0:53 
QuestionManaging the certificate store on Pocket PC / WM5 ? [modified] Pin
f.vanvugt3-Jul-06 21:30
f.vanvugt3-Jul-06 21:30 
Questionhow to find Dynamic IP of all the users logged in for a website at a particular time Pin
pawanmishraji3-Jul-06 20:45
pawanmishraji3-Jul-06 20:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.