Add an Application Shortcut to the Sample Home Screen
· To launch your application when the user clicks the power (battery) widget, set the second parameter of LaunchApplication to a string that contains the GUID for your control panel application.
· The source code for the OnClick event handler is as follows: