Click here to Skip to main content
15,923,389 members
Home / Discussions / C#
   

C#

 
GeneralRe: Which is better? (Communications between classes) Pin
Pete O'Hanlon26-Oct-06 6:39
mvePete O'Hanlon26-Oct-06 6:39 
QuestionHow to do https request and get correct Response using MSXML dll? Pin
pubududilena26-Oct-06 3:41
pubududilena26-Oct-06 3:41 
AnswerRe: How to do https request and get correct Response using MSXML dll? Pin
led mike26-Oct-06 6:18
led mike26-Oct-06 6:18 
GeneralRe: How to do https request and get correct Response using MSXML dll? Pin
pubududilena13-Nov-06 1:56
pubududilena13-Nov-06 1:56 
GeneralRe: How to do https request and get correct Response using MSXML dll? Pin
led mike13-Nov-06 7:23
led mike13-Nov-06 7:23 
QuestionAnonymous Methods Pin
mohanlon26-Oct-06 3:23
mohanlon26-Oct-06 3:23 
AnswerRe: Anonymous Methods Pin
ednrgc26-Oct-06 4:24
ednrgc26-Oct-06 4:24 
GeneralRe: Anonymous Methods Pin
mohanlon26-Oct-06 5:32
mohanlon26-Oct-06 5:32 
GeneralRe: Anonymous Methods Pin
Pete O'Hanlon26-Oct-06 6:42
mvePete O'Hanlon26-Oct-06 6:42 
GeneralRe: Anonymous Methods Pin
ednrgc26-Oct-06 6:58
ednrgc26-Oct-06 6:58 
GeneralRe: Anonymous Methods Pin
mohanlon26-Oct-06 8:37
mohanlon26-Oct-06 8:37 
GeneralRe: Anonymous Methods Pin
mohanlon26-Oct-06 8:49
mohanlon26-Oct-06 8:49 
Questionusing stringbuilder Pin
DownBySpj26-Oct-06 3:20
DownBySpj26-Oct-06 3:20 
AnswerRe: using stringbuilder Pin
ednrgc26-Oct-06 4:12
ednrgc26-Oct-06 4:12 
AnswerRe: using stringbuilder Pin
Pete O'Hanlon26-Oct-06 6:44
mvePete O'Hanlon26-Oct-06 6:44 
QuestionStreamReader problem Pin
Tavbi26-Oct-06 3:08
Tavbi26-Oct-06 3:08 
AnswerRe: StreamReader problem Pin
Andrew Rissing26-Oct-06 3:17
Andrew Rissing26-Oct-06 3:17 
GeneralRe: StreamReader problem Pin
Tavbi26-Oct-06 20:44
Tavbi26-Oct-06 20:44 
GeneralRe: StreamReader problem Pin
Andrew Rissing27-Oct-06 3:30
Andrew Rissing27-Oct-06 3:30 
AnswerRe: StreamReader problem Pin
ednrgc26-Oct-06 3:20
ednrgc26-Oct-06 3:20 
GeneralRe: StreamReader problem Pin
Tavbi26-Oct-06 20:38
Tavbi26-Oct-06 20:38 
QuestionMaking desktop application resolution independent? Pin
Mridang Agarwalla26-Oct-06 2:43
Mridang Agarwalla26-Oct-06 2:43 
AnswerRe: Making desktop application resolution independent? Pin
Pete O'Hanlon26-Oct-06 4:34
mvePete O'Hanlon26-Oct-06 4:34 
QuestionCreating Setup Pin
Jad Jadallah26-Oct-06 2:21
Jad Jadallah26-Oct-06 2:21 
Questionmultithreaded GUI Pin
Polar2226-Oct-06 1:41
Polar2226-Oct-06 1:41 
hey,
I have a very simple problem, which I fear has a very complicated solution.

I have a form containing a treeview, consisting of several thousand nodes, and a textbox. I want the treeview to filter it's contents based on a filter string in the textbox. Here comes the tricky part: I want the treeview filter process to run simultaneously with the normal gui thread, such that the user can see the filtering of the treeview happen as he fills the textbox. Due to the large number of nodes in the treeview the call "treeView1.Nodes.Add(..);" which adds the new nodes to the treeview is very slow, and this will effect the responsiveness of the textbox where the user will experience delays as he fills the textbox.

Normally I would put the treeview filtering code in a separate thread, however .NET doesn't allow gui code that updates gui components to run in separate threads, so I'm kind of stuck.

Any ideas?

regards
Jimmy

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.