Click here to Skip to main content
15,892,480 members
Home / Discussions / C#
   

C#

 
AnswerRe: using image button Pin
OriginalGriff30-Jan-18 21:04
mveOriginalGriff30-Jan-18 21:04 
QuestionC# read the footer in a Microsoft Word document Pin
Member 1101829930-Jan-18 15:00
Member 1101829930-Jan-18 15:00 
AnswerRe: C# read the footer in a Microsoft Word document Pin
Richard MacCutchan30-Jan-18 21:39
mveRichard MacCutchan30-Jan-18 21:39 
QuestionPartial static class Pin
#realJSOP30-Jan-18 3:26
mve#realJSOP30-Jan-18 3:26 
AnswerRe: Partial static class Pin
Richard Deeming30-Jan-18 3:44
mveRichard Deeming30-Jan-18 3:44 
GeneralRe: Partial static class Pin
#realJSOP30-Jan-18 3:49
mve#realJSOP30-Jan-18 3:49 
QuestionWhat is the best way to practice unit testing in C#? Pin
Hila Berger30-Jan-18 0:33
Hila Berger30-Jan-18 0:33 
AnswerRe: What is the best way to practice unit testing in C#? Pin
Eddy Vluggen30-Jan-18 0:48
professionalEddy Vluggen30-Jan-18 0:48 
GeneralRe: What is the best way to practice unit testing in C#? Pin
Hila Berger31-Jan-18 23:14
Hila Berger31-Jan-18 23:14 
GeneralRe: What is the best way to practice unit testing in C#? Pin
Eddy Vluggen31-Jan-18 23:23
professionalEddy Vluggen31-Jan-18 23:23 
GeneralRe: What is the best way to practice unit testing in C#? Pin
Hila Berger31-Jan-18 23:48
Hila Berger31-Jan-18 23:48 
GeneralRe: What is the best way to practice unit testing in C#? Pin
Eddy Vluggen31-Jan-18 23:54
professionalEddy Vluggen31-Jan-18 23:54 
SuggestionRe: What is the best way to practice unit testing in C#? Pin
GregoryPres5-Feb-18 2:16
GregoryPres5-Feb-18 2:16 
QuestionPrevent adding of nodes to a TreeNode? Pin
primem0ver29-Jan-18 23:46
primem0ver29-Jan-18 23:46 
AnswerRe: Prevent adding of nodes to a TreeNode? Pin
Eddy Vluggen30-Jan-18 0:15
professionalEddy Vluggen30-Jan-18 0:15 
AnswerRe: Prevent adding of nodes to a TreeNode? Pin
BillWoodruff3-Feb-18 7:03
professionalBillWoodruff3-Feb-18 7:03 
GeneralRe: Prevent adding of nodes to a TreeNode? Pin
primem0ver3-Feb-18 22:52
primem0ver3-Feb-18 22:52 
GeneralRe: Prevent adding of nodes to a TreeNode? Pin
BillWoodruff5-Feb-18 18:34
professionalBillWoodruff5-Feb-18 18:34 
GeneralRe: Prevent adding of nodes to a TreeNode? Pin
primem0ver9-Feb-18 1:21
primem0ver9-Feb-18 1:21 
GeneralRe: Prevent adding of nodes to a TreeNode? Pin
BillWoodruff10-Feb-18 19:48
professionalBillWoodruff10-Feb-18 19:48 
QuestionHow to debug a WndProc function with multiple listviews ? Pin
Member 245846727-Jan-18 22:48
Member 245846727-Jan-18 22:48 
QuestionUpdate bound WPF controls from another thread Pin
je-wo25-Jan-18 7:14
je-wo25-Jan-18 7:14 
AnswerRe: Update bound WPF controls from another thread Pin
Richard Deeming25-Jan-18 9:02
mveRichard Deeming25-Jan-18 9:02 
For most properties, what you've got should already be safe to update from a background thread, even if you remove the volatile modifier. WPF automatically ensures that the bindings are updated on the UI thread.

You might run into problems updating collections from a background thread, but there's an easy workaround in .NET 4.5:
WPF 4.5: Observable Collection Cross-Thread Change Notification - Pete Brown's 10rem.net[^]

If it's still not working, then you must be doing something odd. Post the full details of the error you're getting, and the relevant parts of the code it relates to.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


AnswerRe: Update bound WPF controls from another thread Pin
Pete O'Hanlon25-Jan-18 22:41
mvePete O'Hanlon25-Jan-18 22:41 
QuestionEliminate LINQ for List<int> ? Pin
Member 245846724-Jan-18 19:50
Member 245846724-Jan-18 19:50 

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.