Because it is good!
checkout the discussion on stackoverflow:
http://stackoverflow.com/questions/1653046/what-are-the-true-benefits-of-expandoobject
2012年9月27日 星期四
2012年9月20日 星期四
windows 8 set focus
It seems that there is no setFocus() method anymore. Instead, windows 8 includes the Windows.UI.Xaml.FocusState for different focus state, like: pointer, keyboard, etc.
The usage would be like:
ViewObjectName.Focus(Windows.UI.Xaml.FocusState.Pointer);
The usage would be like:
ViewObjectName.Focus(Windows.UI.Xaml.FocusState.Pointer);
2012年9月10日 星期一
Run a program as administrator
http://www.intowindows.com/run-program-as-administrator-in-windows-8/
1. press windows to go to start screen
2. open search screen to search the program that you want to run. (i.e. cmd.exe)
3. the search result will be shown on the left hand side.
4. right click on it (tile of cmd.exe)
5. click on advanced
6. check run as adminstrator
1. press windows to go to start screen
2. open search screen to search the program that you want to run. (i.e. cmd.exe)
3. the search result will be shown on the left hand side.
4. right click on it (tile of cmd.exe)
5. click on advanced
6. check run as adminstrator
2012年9月5日 星期三
2012年9月3日 星期一
Launch Browser with an URI from a win8 app
http://zubairahmed.net/?p=266
Here is the code snippet:
Here is the code snippet:
Uri justUri = new Uri("http://www.google.com");
await Windows.System.Launcher.LaunchUriAsync(justUri);
訂閱:
文章 (Atom)