Category: AI

Transforms in WPF

Transforms are a great way to change the appearance of controls in WPF in cases where styles and templates usually fall short. The source code comes from a book published in Czech as “Mistrovstvi ve WPF” ( RIP – this server did not even survive its own hosting.) and in English as Applications = Code …

Read More Transforms in WPF

The Printer Refuses to Print a Visual Object

Last night, just before going to bed, I ran into an interesting problem. I had this code (I did not modify it in any way, it comes from the book Applications = Code + Markup): C#//—————————————————- // PrintaBunchaButtons.cs (c) 2006 by Charles Petzold //—————————————————- using System; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; namespace …

Read More The Printer Refuses to Print a Visual Object