Geeks With Blogs
Prabhu Kumar a tech twaddler.. November 2010 Entries
Dictionary Web Service
Today I came across this web service called aonaware which serves up word definitions from various dictionary databases, so I wrote up a quick windows phone 7 app to check it out and it's kinda neat. Here's a video of the app running on the emulator, I'll write a post soon ......

Posted On Monday, November 29, 2010 11:35 PM

Windows Phone 7 : UI Control Boundaries
I was working on an application at work when I needed to figure out a really trivial case, well, trivial in theory at least. All I wanted to know was if a button was completely inside a rectangle. Could anything else be simpler you think. Just check the button bounds against the rectangle bounds, pseudocode if (Button.Top > Rectangle.Top && Button.Left > Rectangle.Left && Button.Right < Rectangle.Right && Button.Bottom < Rectangle.Bottom) { //Button is inside rectangle ......

Posted On Monday, November 22, 2010 11:37 PM

Copyright © TechTwaddle | Powered by: