1. April 2012
First, define a Class People:
Xaml elements are going to bind with object of People.
Then, Create an instance in the Windows Page's construction method:
Now, with the last line of code:
this.stackPanel.DataContext = myData;
myData object is now binding with elements
31. March 2012
Properties of Tiles
So, why do we have to the Back_*** things? Every Tile has two sides, front side and back side. If we specify the back site tile,Live tile will rolling over and back every few seconds.
Key code to update tile info
24. March 2012
Recently, I was start learning WP7 development. Here are some useful information I found, list here, for you and also for myself:
Phone sample code:http://msdn.microsoft.com/en-us/library/ff431744(v=vs.92).aspx
Phone Jump... [More]
"lambda expressions are just delegates (or type-safe "function pointers"). They only look as they are because some assumptions are taken (like a lambda expression are functions and therefore always returns a value) and the types can be automatically fetched by the compiler. The nice side effect is t... [More]
Regular expressions are used to do sophisticated pattern matching, which can often be helpful in form validation. For ex... [More]
JQuery Parse JSON
var obj = $.parseJSON(data);
C# creates JSON string:
public static class JSONHelper
Every several weeks I was haunted by this annoying problem and waste my life for hours!!! This time, I am gonna file it down for future and also others.
Site.css file under "Styles" folder cannot be accessedAnd, page will be appeared like this:
Even after the following code have been a... [More]
11. November 2011
Step No.1: Microsoft should buy or setup a Domain Name Registration Company.
With such a company, Microsoft can provide every Office365 customers a free domain name. Now the Office 365 setup process would be extremely simple:
1. Input a valid domain name2. Pay it.
Ok, everything is done. Domain... [More]
11. November 2011
Install and configure the Microsoft Online Services Module for Windows PowerShell
1. Check the requirement for your environment
You need a Windows 7 or Windows Server 2008 R2 computer.You must have Windows PowerShell and the .NET Framework 3.5.1 installed. You must have the Microsoft Online Servic... [More]
Rumors said that Windows 8 is a compromise result of PC and Panel team, no wander, the DP version looks weird. Microsoft had a chance to rebuild its phone system. It is now called Windows Phone 7. But, it is not a successful product. Now, this time, Microsoft wants to build its new windows base on... [More]