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

C#

 
GeneralRe: NOPs in disassembly Pin
Ekoj Lirpa25-Oct-09 7:51
Ekoj Lirpa25-Oct-09 7:51 
GeneralRe: NOPs in disassembly Pin
Richard MacCutchan25-Oct-09 8:03
mveRichard MacCutchan25-Oct-09 8:03 
GeneralRe: NOPs in disassembly Pin
GameZelda25-Oct-09 8:29
GameZelda25-Oct-09 8:29 
GeneralRe: NOPs in disassembly Pin
Ekoj Lirpa25-Oct-09 8:48
Ekoj Lirpa25-Oct-09 8:48 
GeneralRe: NOPs in disassembly [modified] Pin
harold aptroot25-Oct-09 9:06
harold aptroot25-Oct-09 9:06 
AnswerRe: NOPs in disassembly Pin
PIEBALDconsult25-Oct-09 15:26
mvePIEBALDconsult25-Oct-09 15:26 
QuestionCustom Control Pin
Kumold25-Oct-09 3:50
Kumold25-Oct-09 3:50 
AnswerRe: Custom Control Pin
Ekoj Lirpa25-Oct-09 8:30
Ekoj Lirpa25-Oct-09 8:30 
QuestionSecurity when working wtih .mdf Pin
cdpace25-Oct-09 3:29
cdpace25-Oct-09 3:29 
QuestionCrystal Repor Problem Pin
Thaer Hamael25-Oct-09 2:09
Thaer Hamael25-Oct-09 2:09 
Questiongetting Zedgraph into a stand-alone application Pin
Member 466007224-Oct-09 23:39
Member 466007224-Oct-09 23:39 
AnswerRe: getting Zedgraph into a stand-alone application Pin
Christian Graus24-Oct-09 23:42
protectorChristian Graus24-Oct-09 23:42 
AnswerRe: getting Zedgraph into a stand-alone application Pin
Nagy Vilmos25-Oct-09 22:59
professionalNagy Vilmos25-Oct-09 22:59 
GeneralRe: getting Zedgraph into a stand-alone application Pin
JoeHapp2-Jun-11 7:39
JoeHapp2-Jun-11 7:39 
Questionsocket minimum recieve Pin
programmer.coder24-Oct-09 22:13
programmer.coder24-Oct-09 22:13 
QuestionProblem with extracting file names from the file names returned by FTP LIST command Pin
nccsbim07124-Oct-09 21:04
nccsbim07124-Oct-09 21:04 
QuestionTreeview in a thread [modified] Pin
Ronni Marker24-Oct-09 20:54
Ronni Marker24-Oct-09 20:54 
AnswerRe: Treeview in a thread Pin
Ronni Marker24-Oct-09 20:55
Ronni Marker24-Oct-09 20:55 
AnswerRe: Treeview in a thread Pin
Nicholas Butler24-Oct-09 21:57
sitebuilderNicholas Butler24-Oct-09 21:57 
As you have found out, you must always use a UI control on the main thread. So you will have to marshal the treeView1.Nodes.Add calls on to the main thread using Invoke or BeginInvoke.

What's taking the time - is it DOCTemp.GetGroups() or the loop round TemplateManagerTreeView?

If it's the GetGroups call, then you can just marshal the whole loop in one go. If it's actually adding the nodes, you will have to split the loop up into chunks and marshal them one after the other. Invoking every TemplateManagerTreeView call individually would be slow.

Nick

----------------------------------
Be excellent to each other Smile | :)

GeneralRe: Treeview in a thread Pin
Ronni Marker24-Oct-09 22:51
Ronni Marker24-Oct-09 22:51 
GeneralRe: Treeview in a thread Pin
Nicholas Butler24-Oct-09 23:32
sitebuilderNicholas Butler24-Oct-09 23:32 
GeneralRe: Treeview in a thread Pin
Ronni Marker26-Oct-09 17:59
Ronni Marker26-Oct-09 17:59 
AnswerRe: Treeview in a thread Pin
Luc Pattyn25-Oct-09 12:35
sitebuilderLuc Pattyn25-Oct-09 12:35 
GeneralRe: Treeview in a thread Pin
Ronni Marker26-Oct-09 18:03
Ronni Marker26-Oct-09 18:03 
QuestionHow can i run the open and save file codes in C# ??? [modified] Pin
ghe143lhei24-Oct-09 19:59
ghe143lhei24-Oct-09 19:59 

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.