DocPowerS
banner
docpowers.bsky.social
DocPowerS
@docpowers.bsky.social
I'm a Storage and SAN SSE , Consultant, #PowerShell fanboy, #Coder and #Triathlet

I am here to meet interesting people from whom you can learn new things or find inspiration.
Languages: German and English
Und am Ende werden sie doch zustimmen (wie immer und wie es andere auch schon getan haben), weil es ja gar „nicht anders geht“ und man sich ungern den schwarzen Peter zuschieben lassen will. #my2cent
March 9, 2025 at 10:31 AM
Wenn wir jetzt doch nur die Wahlversprechen der letzten xy Jahre umgesetzt hätten, Stichwort Digitalisierung 🤪
In Verbindung mit dem für was der Personalausweis alles so gedacht ist, hätte das ja eigentlich kein Problem sein dürfen.
February 22, 2025 at 1:30 PM
So was ist einmal als Funktion erstellt und kann immer wieder genutzt werden 🙃
January 23, 2025 at 7:28 PM
In a normal .net application you would put the styles in extra xaml so that you only have one starting point for customization and that is not so easy to do was what currently bothers me.
January 23, 2025 at 4:23 PM
Yes, web based was/is under consideration, but it was decided against it because the GUI is quite simple. The gui it self has a few buttons, which called individual functions and then displayed the results in a datagrid, these grids are exported as csv (for documentation purposes).
January 23, 2025 at 4:22 PM
Cool, it would be good if this were supplied as an internal function or similar with #powershell.
January 20, 2025 at 7:03 PM
Thanks for the input, I'll take a look and see what I can find. The multiple UserControls in MainWindow is not the problem, I'm trying to figure out how to deal with the resources so I don't have to write the same style for a button or DataGrid x times.
December 28, 2024 at 4:10 PM
Yes, that's how I do it too, but nowadays it almost seems to me that nobody wants to deal with the cli anymore, or they are afraid of it. That's why I do it just like you, GUI only when necessary.
Thanks for the Discord link, I'll have a look around there.
December 28, 2024 at 9:40 AM
I tried this a long time ago, but it only worked with the absolute path in the “MainWindow” and that ruins the actual functionality/flexibility, plus it only worked in the “MainWindow” which was/is basically a first step. Thanks for the answer so far.
December 27, 2024 at 2:37 PM
This is how I currently do it. In a classic .net + WPF app, I integrate the e.g. Colors.xaml via the app.xaml and it works how do I do this in connection with powershell?
ResourceDictionary included in UC.xaml
ResourceDictionary included in UC.xaml. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
December 27, 2024 at 11:32 AM