Click here to Skip to main content
15,390,899 members
Home / Discussions / C#
   

C#

 
AnswerRe: Prevent adding of nodes to a TreeNode? Pin
BillWoodruff3-Feb-18 7:03
mveBillWoodruff3-Feb-18 7:03 
GeneralRe: Prevent adding of nodes to a TreeNode? Pin
primem0ver3-Feb-18 22:52
Memberprimem0ver3-Feb-18 22:52 
GeneralRe: Prevent adding of nodes to a TreeNode? Pin
BillWoodruff5-Feb-18 18:34
mveBillWoodruff5-Feb-18 18:34 
GeneralRe: Prevent adding of nodes to a TreeNode? Pin
primem0ver9-Feb-18 1:21
Memberprimem0ver9-Feb-18 1:21 
GeneralRe: Prevent adding of nodes to a TreeNode? Pin
BillWoodruff10-Feb-18 19:48
mveBillWoodruff10-Feb-18 19:48 
QuestionHow to debug a WndProc function with multiple listviews ? Pin
Member 245846727-Jan-18 22:48
MemberMember 245846727-Jan-18 22:48 
QuestionUpdate bound WPF controls from another thread Pin
je-wo25-Jan-18 7:14
Memberje-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
mvaPete O'Hanlon25-Jan-18 22:41 
QuestionEliminate LINQ for List<int> ? Pin
Member 245846724-Jan-18 19:50
MemberMember 245846724-Jan-18 19:50 
AnswerRe: Eliminate LINQ for List<int> ? Pin
OriginalGriff24-Jan-18 20:16
mveOriginalGriff24-Jan-18 20:16 
SuggestionRe: Eliminate LINQ for List<int> ? Pin
Richard Deeming25-Jan-18 8:56
mveRichard Deeming25-Jan-18 8:56 
AnswerRe: Eliminate LINQ for List<int> ? Pin
BillWoodruff25-Jan-18 23:58
mveBillWoodruff25-Jan-18 23:58 
GeneralRe: Eliminate LINQ for List<int> ? Pin
#realJSOP30-Jan-18 3:39
mva#realJSOP30-Jan-18 3:39 
GeneralRe: Eliminate LINQ for List<int> ? Pin
BillWoodruff30-Jan-18 6:07
mveBillWoodruff30-Jan-18 6:07 
QuestionPaint Image on Form with BitBlt? Pin
Darla Fanbridge24-Jan-18 3:12
MemberDarla Fanbridge24-Jan-18 3:12 
AnswerRe: Paint Image on Form with BitBlt? Pin
OriginalGriff24-Jan-18 4:05
mveOriginalGriff24-Jan-18 4:05 
QuestionSQL Connection string ignoring UserID Pin
Member 1240626023-Jan-18 2:02
MemberMember 1240626023-Jan-18 2:02 
AnswerRe: SQL Connection string ignoring UserID Pin
Jochen Arndt23-Jan-18 2:25
professionalJochen Arndt23-Jan-18 2:25 
QuestionHow can i send text to the Devline camera? Pin
Member 1312505222-Jan-18 23:29
MemberMember 1312505222-Jan-18 23:29 
AnswerRe: How can i send text to the Devline camera? Pin
Pete O'Hanlon22-Jan-18 23:31
mvaPete O'Hanlon22-Jan-18 23:31 
QuestionWPF C# check if logged on with MS account Pin
Member 798746122-Jan-18 22:50
MemberMember 798746122-Jan-18 22:50 
AnswerRe: WPF C# check if logged on with MS account Pin
Richard Deeming23-Jan-18 0:29
mveRichard Deeming23-Jan-18 0:29 
GeneralRe: WPF C# check if logged on with MS account Pin
Member 798746123-Jan-18 1:03
MemberMember 798746123-Jan-18 1:03 
Questionis there a way to define the signature of a delegate in an interface without defining the signature twice? Pin
joost.versteegen21-Jan-18 23:38
Memberjoost.versteegen21-Jan-18 23:38 

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.