Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void Window_Loaded(object sender, RoutedEventArgs e)
- {
- MessageBox.Show("MyMessage");
- }
- private void Window_Loaded(object sender, RoutedEventArgs e)
- {
- InitializeComponent();
- this.Dispatcher.BeginInvoke(DispatcherPriority.Background,
- new Action(delegate() { MessageBox.Show("MyMessage"); }));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement