Laden...

Assembly-Icon statt Windows-Icon binden

Letzter Beitrag vor 8 Jahren 3 Posts 1.095 Views
Assembly-Icon statt Windows-Icon binden

Hallo,
ich möchte an das Assembly-Icon. nicht das Window-Icon, als Image anzeigen. Wie lässt sich das umsetzen?

Hilft dir das vielleicht weiter?

stackoverflow:How do I get an Icon from a png image?

Sollte man mal gelesen haben:

Clean Code Developer
Entwurfsmuster
Anti-Pattern

Nach längerem bin ich auf folgende Lösung gekommen: (Dafür muss das Icon als Ressource kompiliert werden)


       <Image Source="pack://application:,,,/Properties/Application.ico"/>