Skip to content

Instantly share code, notes, and snippets.

@jessenic
Created February 5, 2013 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jessenic/4714652 to your computer and use it in GitHub Desktop.
Save jessenic/4714652 to your computer and use it in GitHub Desktop.
Microsoft.Phone.Tasks.SaveContactTask tsk = new Microsoft.Phone.Tasks.SaveContactTask();
tsk.FirstName = "SuomiWP";
tsk.Website = "suomiwp.com";
tsk.Completed += new EventHandler<Microsoft.Phone.Tasks.SaveContactResult>(tsk_Completed);
tsk.Show();
void tsk_Completed(object sender, Microsoft.Phone.Tasks.SaveContactResult e)
{
// täällä sitten tehdään jotain sen mukaan mitä tehtävä palauttaa.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment