http://lightswitchhelpwebsite.com/Blog/tabid/61/EntryId/62/How-To-Create-a-LightSwitch-Command-Control-Extension-A-Button.aspx
很不错的教程,很详细。大家可参考一下