コード例 #1
0
        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;
        }
コード例 #2
0
        private void ToEventPage(object sender, RoutedEventArgs e)
        {
            YourEvents page = new YourEvents();

            NavigationService.Navigate(page);
        }