Created
June 24, 2012 20:11
-
-
Save anuith/2984728 to your computer and use it in GitHub Desktop.
Windows Phone Hackathon : Facebook & Instagram Sample - ShareTask Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void ShareStatus_Click(object sender, System.Windows.RoutedEventArgs e) | |
| { | |
| ShareStatusTask task = new ShareStatusTask(); | |
| task.Status = TextBox_Status.Text; // get status text from TextBox_Status | |
| task.Show(); | |
| } | |
| private void ShareLink_Click(object sender, System.Windows.RoutedEventArgs e) | |
| { | |
| ShareLinkTask task = new ShareLinkTask(); | |
| task.LinkUri = new Uri(TextBox_Url.Text); | |
| task.Title = TextBox_LinkTitle.Text; | |
| task.Message = TextBox_LinkMsg.Text; | |
| task.Show(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment