private void AddSellerToEvent(object sender, MouseButtonEventArgs e) { Cursor previousCursor = Mouse.OverrideCursor; Mouse.OverrideCursor = Cursors.Wait; try { YourEvents page = new YourEvents(); NavigationService.Navigate(page); } catch { } Mouse.OverrideCursor = previousCursor; }
private void ToEventPage(object sender, RoutedEventArgs e) { YourEvents page = new YourEvents(); NavigationService.Navigate(page); }