Windows Phone Tutorial
Friday, December 14, 2012
Copy to clipboard function
For VB:
Private Sub Button1_Click(sender As System.Object, e As System.Windows.RoutedEventArgs)
Clipboard.SetText(TextBox1.Text)
End Sub
For C#:
private void button1_Click(object sender, RoutedEventArgs e)
{
Clipboard.SetText(this.textBox1.Text);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment