Click here to Skip to main content
15,905,875 members
Home / Discussions / C#
   

C#

 
GeneralRe: Threads and WinForms Pin
Programm3r16-Oct-08 2:03
Programm3r16-Oct-08 2:03 
QuestionRe: Threads and WinForms Pin
Programm3r16-Oct-08 2:13
Programm3r16-Oct-08 2:13 
AnswerRe: Threads and WinForms Pin
Giorgi Dalakishvili16-Oct-08 2:30
mentorGiorgi Dalakishvili16-Oct-08 2:30 
GeneralRe: Threads and WinForms Pin
Programm3r16-Oct-08 2:49
Programm3r16-Oct-08 2:49 
QuestionRe: Threads and WinForms Pin
Programm3r16-Oct-08 3:05
Programm3r16-Oct-08 3:05 
AnswerRe: Threads and WinForms Pin
Giorgi Dalakishvili16-Oct-08 3:19
mentorGiorgi Dalakishvili16-Oct-08 3:19 
GeneralRe: Threads and WinForms Pin
Programm3r16-Oct-08 3:25
Programm3r16-Oct-08 3:25 
GeneralRe: Threads and WinForms Pin
Giorgi Dalakishvili16-Oct-08 3:31
mentorGiorgi Dalakishvili16-Oct-08 3:31 
You are doing practically the same thing you were doing in your original code. Instead of adding items one by one, store them in an array and add them in batch. If you are using backgroundworker you can use Result property to store listviewitem[] and access it when the worked is completed. In this case you can just add the items without the need of Invoke.

Giorgi Dalakishvili

#region signature
My Articles / My Latest Article[^] / My blog[^]
#endregion

GeneralRe: Threads and WinForms Pin
Programm3r16-Oct-08 3:39
Programm3r16-Oct-08 3:39 
GeneralRe: Threads and WinForms Pin
Giorgi Dalakishvili16-Oct-08 5:44
mentorGiorgi Dalakishvili16-Oct-08 5:44 
QuestionHow to change the height property of panel dynamically Pin
mharoonkhan16-Oct-08 1:04
mharoonkhan16-Oct-08 1:04 
AnswerRe: How to change the height property of panel dynamically Pin
EliottA16-Oct-08 2:08
EliottA16-Oct-08 2:08 
QuestionC# Print DataGridView Pin
Socheat.Net15-Oct-08 23:42
Socheat.Net15-Oct-08 23:42 
AnswerRe: C# Print DataGridView Pin
Giorgi Dalakishvili15-Oct-08 23:53
mentorGiorgi Dalakishvili15-Oct-08 23:53 
RantRe: C# Print DataGridView Pin
Nagy Vilmos16-Oct-08 3:11
professionalNagy Vilmos16-Oct-08 3:11 
AnswerRe: C# Print DataGridView Pin
Dave Kreskowiak16-Oct-08 3:45
mveDave Kreskowiak16-Oct-08 3:45 
QuestionC# Help Pin
boiDev15-Oct-08 23:36
boiDev15-Oct-08 23:36 
AnswerRe: C# Help Pin
Pete O'Hanlon15-Oct-08 23:57
mvePete O'Hanlon15-Oct-08 23:57 
AnswerRe: C# Help Pin
Ashfield16-Oct-08 0:33
Ashfield16-Oct-08 0:33 
QuestionDoes Any one Know how to link a treeview to a listview? Pin
boiDev15-Oct-08 22:30
boiDev15-Oct-08 22:30 
AnswerRe: Does Any one Know how to link a treeview to a listview? Pin
Pete O'Hanlon15-Oct-08 22:41
mvePete O'Hanlon15-Oct-08 22:41 
GeneralRe: Does Any one Know how to link a treeview to a listview? Pin
boiDev15-Oct-08 22:43
boiDev15-Oct-08 22:43 
GeneralRe: Does Any one Know how to link a treeview to a listview? Pin
Pete O'Hanlon16-Oct-08 0:30
mvePete O'Hanlon16-Oct-08 0:30 
AnswerRe: Does Any one Know how to link a treeview to a listview? Pin
SeMartens15-Oct-08 22:43
SeMartens15-Oct-08 22:43 
GeneralRe: Does Any one Know how to link a treeview to a listview? Pin
boiDev15-Oct-08 22:44
boiDev15-Oct-08 22:44 

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.