Click here to Skip to main content
15,941,690 members
Home / Discussions / C#
   

C#

 
AnswerRe: user settings on a server C# Pin
Gerry Schmitz1-Jan-18 7:37
mveGerry Schmitz1-Jan-18 7:37 
Questionobject location Pin
Member 1296407930-Dec-17 7:58
Member 1296407930-Dec-17 7:58 
AnswerRe: object location Pin
Dave Kreskowiak30-Dec-17 12:15
mveDave Kreskowiak30-Dec-17 12:15 
QuestionMessage Closed Pin
30-Dec-17 3:27
Jason132330-Dec-17 3:27 
AnswerRe: Difference between String and StringBuilder? Pin
OriginalGriff30-Dec-17 4:29
mveOriginalGriff30-Dec-17 4:29 
AnswerRe: Difference between String and StringBuilder? Pin
Gerry Schmitz30-Dec-17 6:10
mveGerry Schmitz30-Dec-17 6:10 
QuestionHow to access a datagrid control (on a parent window) from a child window in wpf c# Pin
Hervend29-Dec-17 7:23
Hervend29-Dec-17 7:23 
AnswerRe: How to access a datagrid control (on a parent window) from a child window in wpf c# Pin
Dave Kreskowiak29-Dec-17 8:59
mveDave Kreskowiak29-Dec-17 8:59 
The child window should not know anything at all about its "parent" window, nor should it try to manipulate any controls on it.

The correct way to do this would be to have the child window expose it's data and events that the parent window can subscribe to. The parent window will be responsible for updating it's own controls with the new data as it sees fit.

System.ItDidntWorkException: Something didn't work as expected.
-- said no compiler, ever.

C# - How to debug code[^].
Seriously, go read this article.

Dave Kreskowiak

AnswerRe: How to access a datagrid control (on a parent window) from a child window in wpf c# Pin
Mycroft Holmes29-Dec-17 11:46
professionalMycroft Holmes29-Dec-17 11:46 
AnswerRe: How to access a datagrid control (on a parent window) from a child window in wpf c# Pin
Gerry Schmitz30-Dec-17 6:04
mveGerry Schmitz30-Dec-17 6:04 
GeneralRe: How to access a datagrid control (on a parent window) from a child window in wpf c# Pin
Hervend30-Dec-17 6:31
Hervend30-Dec-17 6:31 
QuestionWhat's the deal with Span<T> & Memory<T>? Pin
swampwiz28-Dec-17 22:06
swampwiz28-Dec-17 22:06 
AnswerRe: What's the deal with Span<T> & Memory<T>? Pin
Pete O'Hanlon28-Dec-17 23:40
mvePete O'Hanlon28-Dec-17 23:40 
QuestionC# Pin
Member 1359870428-Dec-17 20:16
Member 1359870428-Dec-17 20:16 
AnswerRe: C# Pin
Chris Quinn28-Dec-17 20:35
Chris Quinn28-Dec-17 20:35 
AnswerRe: C# Pin
OriginalGriff28-Dec-17 21:37
mveOriginalGriff28-Dec-17 21:37 
AnswerRe: C# Pin
Dave Kreskowiak29-Dec-17 2:33
mveDave Kreskowiak29-Dec-17 2:33 
GeneralRe: C# Pin
OriginalGriff29-Dec-17 4:03
mveOriginalGriff29-Dec-17 4:03 
GeneralRe: C# Pin
Dave Kreskowiak29-Dec-17 4:13
mveDave Kreskowiak29-Dec-17 4:13 
Questionappend message in sql server Pin
Member 1320094428-Dec-17 6:43
Member 1320094428-Dec-17 6:43 
AnswerRe: append message in sql server Pin
Dave Kreskowiak28-Dec-17 7:22
mveDave Kreskowiak28-Dec-17 7:22 
GeneralRe: append message in sql server Pin
Member 1320094431-Dec-17 18:16
Member 1320094431-Dec-17 18:16 
GeneralRe: append message in sql server Pin
Dave Kreskowiak1-Jan-18 6:04
mveDave Kreskowiak1-Jan-18 6:04 
QuestionC# Ado.net Pin
komal patil28-Dec-17 5:49
komal patil28-Dec-17 5:49 
AnswerRe: C# Ado.net Pin
OriginalGriff28-Dec-17 5:53
mveOriginalGriff28-Dec-17 5:53 

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.