Beispiel #1
0
        private async void addSPToSolutionButton_Click(object sender, RoutedEventArgs e)
        {
            await svm.AddProductsToSolution();

            CompleteBladeView.IsEnabled = true;
            if (SolutionHelper.BusinessCustomer())
            {
                commercialCompleteBlade.IsOpen = true;
            }
            else
            {
                consumerCompleteBlade.IsOpen = true;
            }
        }
Beispiel #2
0
        private async void addSPToSolutionButton_Click(object sender, RoutedEventArgs e)
        {
            await svm.AddProductsToSolution();

            CompleteBladeView.IsEnabled = true;
            if (SolutionHelper.BusinessCustomer())
            {
                commercialCompleteBlade.IsOpen        = true;
                SurfaceSelectionStackPanel.Visibility = Visibility.Collapsed;
            }
            else
            {
                consumerCompleteBlade.IsOpen          = true;
                SurfaceSelectionStackPanel.Visibility = Visibility.Collapsed;
            }
        }
Beispiel #3
0
        private async void addSPToSolutionButton_Click(object sender, RoutedEventArgs e)
        {
            if (await svm.AddProductsToSolution()) //Navigate to the next step in the process if the method returns true in dicating the customer does not want to add an accessory
            {
                CompleteBladeView.IsEnabled = true;

                if (SolutionHelper.BusinessCustomer())
                {
                    commercialCompleteBlade.IsOpen = true;
                }
                else
                {
                    consumerCompleteBlade.IsOpen = true;
                }
            }
        }