C
C#4d ago
Jexs

Why isnt it outputting the same

im following this https://wpf.2000things.com/2014/07/01/1105-using-applications-windows-collection-to-interact-with-other-windows/ i looked up the error on ms docs and what i think im doing wrong is that im not referencing something but im not sure what to referense error: 'OtherWindow' does not contain a definition for 'OtherWindow' and no accessible extension method 'OtherWindow' accepting a first argument of type 'OtherWindow' could be found (are you missing a using directive or an assembly reference?) msdocs:https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs1061
Sean
2,000 Things You Should Know About WPF
#1,105 – Using Application’s Windows Collection to Interact wit...
You can use the Application object’s Windows property to get a list of all active windows.  If you then cast to your specific subclass of Window, you can interact with the various child windo…
No description
No description
No description
No description
2 Replies
Jexs
JexsOP4d ago
this is my output when i enter something in the create other button and click list others
No description
Jexs
JexsOP4d ago
Update the error went away somehow not sure how I guess the text being entered isn’t being displayed because my text entry event isn’t set up ? Kinda pasted all the code on that site into the program don’t know what else to paste

Did you find this page helpful?