Archive for June, 2007
Controlling WPF with External Sensors
by dan on Jun.13, 2007, under Development
Just came across a really cool post on thewpfblog showing how a WPF application can be controlled using the input from external sensors!
This definitely looks like something I’d like to play with! Check it out (and follow the link to the video on the Content Presenter site):
Annoying Context Menu bug in WinForms
by dan on Jun.12, 2007, under Development
Update: Wow, I’m really impressed with the response time of the triage team on Connect. They acknowledged the bug same day and are already looking into a resolution. That really is first class support. Thanks guys!
Just ran into a rather annoying bug in WinForms. You’ve got a ContextMenuStrip which is shared by a number of controls on your form. When the user right clicks one of the controls, and chooses an item in the context menu, the SourceControl property of the ContextMenuStrip is supposed to be set to the control that you right clicked on.
This works fine if you have a flat context menu, but if your context menu has sub-menus, and you click one of those items, then the SourceControl property is always null!
If this bug affects or annoys you, please vote for it here:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=282496
