- private void DoEvents()
- {
- Application.Current.Dispatcher.Invoke(DispatcherPriority.Background, new ThreadStart(delegate { }));
- }
- private void btnDel_Click(object sender, RoutedEventArgs e)
- {
- popupLoad.IsOpen = true;
- DoEvents();
- if (eDelRecord != null)
- eDelRecord(this, EventArgs.Empty);
- popupLoad.IsOpen = false;
- }
No comments:
Post a Comment
Note: only a member of this blog may post a comment.