Click here to Skip to main content
15,116,516 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: UI not updating Pin
#realJSOP30-Mar-21 15:26
mva#realJSOP30-Mar-21 15:26 
QuestionImpossible? Get instance of MainWindow from extern WPF-application Pin
Mc_Topaz22-Mar-21 15:05
MemberMc_Topaz22-Mar-21 15:05 
AnswerRe: Impossible? Get instance of MainWindow from extern WPF-application Pin
Richard Deeming22-Mar-21 23:40
mveRichard Deeming22-Mar-21 23:40 
GeneralRe: Impossible? Get instance of MainWindow from extern WPF-application Pin
Mc_Topaz23-Mar-21 5:02
MemberMc_Topaz23-Mar-21 5:02 
AnswerRe: Impossible? Get instance of MainWindow from extern WPF-application Pin
Gerry Schmitz23-Mar-21 8:27
mveGerry Schmitz23-Mar-21 8:27 
GeneralRe: Impossible? Get instance of MainWindow from extern WPF-application Pin
Mc_Topaz23-Mar-21 13:22
MemberMc_Topaz23-Mar-21 13:22 
GeneralRe: Impossible? Get instance of MainWindow from extern WPF-application Pin
Richard Deeming24-Mar-21 0:14
mveRichard Deeming24-Mar-21 0:14 
GeneralRe: Impossible? Get instance of MainWindow from extern WPF-application Pin
Gerry Schmitz24-Mar-21 6:40
mveGerry Schmitz24-Mar-21 6:40 
Since it's a "formal" test scenario, you add a "reference" to B's exe / namespace in A (versus dynamic assembly referencing); then it's:

var windowB = new B.MainWindow();
etc.

This assumes there isn't some code in B.App.Startup that MainWindow is dependent on (I use static "data" classes for lazy loading)

As for manipulating controls (and methods), you obviously need public accessors (in one form or another).
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food

GeneralRe: Impossible? Get instance of MainWindow from extern WPF-application Pin
Mc_Topaz25-Mar-21 1:02
MemberMc_Topaz25-Mar-21 1:02 
QuestionWPF DataGrid Custom Group Header Pin
Kevin Marois22-Mar-21 9:47
professionalKevin Marois22-Mar-21 9:47 
AnswerRe: WPF DataGrid Custom Group Header Pin
Richard Deeming22-Mar-21 23:35
mveRichard Deeming22-Mar-21 23:35 
QuestionDynamic WPF DataGrid Pin
Kevin Marois19-Mar-21 11:41
professionalKevin Marois19-Mar-21 11:41 
AnswerRe: Dynamic WPF DataGrid Pin
Richard Deeming21-Mar-21 23:50
mveRichard Deeming21-Mar-21 23:50 
GeneralRe: Dynamic WPF DataGrid Pin
Kevin Marois22-Mar-21 8:07
professionalKevin Marois22-Mar-21 8:07 
GeneralRe: Dynamic WPF DataGrid Pin
Kevin Marois23-Mar-21 10:58
professionalKevin Marois23-Mar-21 10:58 
GeneralRe: Dynamic WPF DataGrid Pin
Richard Deeming24-Mar-21 0:13
mveRichard Deeming24-Mar-21 0:13 
GeneralRe: Dynamic WPF DataGrid Pin
Kevin Marois24-Mar-21 7:14
professionalKevin Marois24-Mar-21 7:14 
QuestionWPF with TPL Multithreading Pin
#realJSOP16-Mar-21 7:04
mva#realJSOP16-Mar-21 7:04 
AnswerRe: WPF with TPL Multithreading Pin
Gerry Schmitz16-Mar-21 8:45
mveGerry Schmitz16-Mar-21 8:45 
GeneralRe: WPF with TPL Multithreading Pin
#realJSOP16-Mar-21 10:03
mva#realJSOP16-Mar-21 10:03 
GeneralRe: WPF with TPL Multithreading Pin
Gerry Schmitz16-Mar-21 11:11
mveGerry Schmitz16-Mar-21 11:11 
GeneralRe: WPF with TPL Multithreading Pin
#realJSOP16-Mar-21 11:51
mva#realJSOP16-Mar-21 11:51 
QuestionExpand/Collapse TreeView Nodes on Ctrl+LeftMouse in WPF Pin
ernie_hudds12-Mar-21 5:24
Memberernie_hudds12-Mar-21 5:24 
AnswerRe: Expand/Collapse TreeView Nodes on Ctrl+LeftMouse in WPF Pin
Gerry Schmitz12-Mar-21 9:13
mveGerry Schmitz12-Mar-21 9:13 
AnswerRe: Expand/Collapse TreeView Nodes on Ctrl+LeftMouse in WPF Pin
lmoelleb15-Mar-21 9:40
Memberlmoelleb15-Mar-21 9:40 

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.