Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Windows;
- namespace WpfCrossThread {
- public partial class MainWindow : Window {
- public MainWindow() {
- InitializeComponent();
- }
- private void button_Click(object sender, RoutedEventArgs e) {
- MyTextBox.Text = "this will clearly succeed";
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement