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 ......
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 ......