Now that I had my Amazing Qwerty KeyBoard, I had to hook it up. BabySmash uses the OnKeyUp event in the MainScreen as its hook to the business logic: public partial class MainWindow : Window { private readonly Controller controller; public Controller Controller { get { return controller; } } public MainWindow(Controller c) { this.controller = c; this.DataContext = controller; InitializeComponent(); } .... protected override void OnKeyUp(KeyEventArgs e) { base.OnKeyUp(e); e.Handled = true; controller.ProcessKey(this, ......
The first thing I did after downloading BabySmash was to begin building an on-screen keyboard. I installed Microsoft Expressions, but quickly became frustrated. That was a surprise to me because I am a Photoshop pro!! (On portraits anyway). Despite the admonishing of many, I switched over to Visual Studio and began coding my keyboard by hand. Now I was on much more familiar territory! I do plan to return someday to Expressions when I have a more open mind. But for now, I want to build DrewbieSmash! ......
A long, long time ago in a galaxy far far away, a developer at Microsoft named Scott Hanselman decided to learn WPF. And so he set out upon the Great BabySmash Experiment. Meanwhile, in another galaxy, a developer at Magenic named Kirstin decided to learn WPF. By this time, the Great BabySmash Experiment had achieved fame far and wide, and so Kirstin downloaded the source code and created DrewbieSmash. Who is Drewbie? Drew is my five-year-old nephew and is very special in many ways. When he was about ......