C
C#•7mo ago
SirDurpsalot

resource dictionary confusion

So this is a really weird question, so bear with me as I'm gonna try explaining. I am building a WPF project and I was looking for a way to style everything in the old Windows 95 style but with my own colours. I found a github repository where someone made a custom window that uses the windows 95 theme. I have been looking through the code for hours and I was finally starting to understand it. But then I found that in the file Windows95/Themes/Generic.xaml, which is a resource dictionary, another resource dictionary is used. But I cannot for the life of me figure out where this Generic.xaml file is used to skin the window. Whenever I use the Windows95Window class as my window it works, but when the Generic.xaml file is removed it stops working. the only reference used in App.xaml is to another resource dictionary that has nothing to do with Generic.xaml. I have tried using Ctrl+F, Ctrl+Q, Ctrl+T etc. but I cannot find how this works. This is a big ask but could someone look through the code and see if they find how this project is made? https://github.com/vddCore/Windows95-WPF/tree/master
GitHub
GitHub - vddCore/Windows95-WPF: Windows 95 styled controls and Welc...
Windows 95 styled controls and Welcome window replica made with WPF. - vddCore/Windows95-WPF
2 Replies
SpReeD
SpReeD•7mo ago
I think I just found my new GUI framework... As Windows is structure I'm also for certain that you could utilize an native DLL for this to happen :p
SirDurpsalot
SirDurpsalotOP•7mo ago
sorry I dont know what that means 😅
Want results from more Discord servers?
Add your server