2008年8月24日星期日

Introduce WPF UI Automation Test

The video above is a MSDN example of WPF UI automation for automated testing. You can get the article here, get the example here. To run the example, you need VS2008 installed.

2008年8月12日星期二

C# code snippets

I started to use WPF in our recent project. I need implement INotifyPropertyChanged interface for some classes. So I learnt to use code snippets. I find it is very good! Here is a brief tutorial that can help you get started quickly.

1, dowload snippets, here is some provided by MS, here is some provied by Dr.WPF;


2, use code snippets manager import them;


3, right click mouse where you want to insert codes;



4, select the snippet;


5, see, the codes added!

Now, you may curious about how to create your own snippets. Here can help you to get start.

Here is a good free tool which can help you create your snippets.

2008年8月11日星期一

Use "HP Quick Lanch Buttons"

This may help if you own a HP laptop, if you do not have one, you can skip it.


I have seen this small rocket for almost 2 years, but I learnt to use it only few days ago.


One function I like is "ZOOM". When you use 1680 * 1050 screen resolution, you may want to use large font. Here is the quicker way than change screen properties. I change this frequently because I am using dual monitors.


Another function I like is the quick buttons. There is button, a circle around a question mark, on the left top of your laptop keybord. Press the button, you get the button menus. Right click on the small rocket, you can "Adjust HP Quick Lanch Buttons Properties".