public void Process(CreditCardProcessingData creditCardProcessingData) { InteractionService.UserIntraction.BlurMainWindow(); SelectedTicket = creditCardProcessingData.Ticket; _viewModel.CanPreAuth = true; _viewModel.TenderedAmount = creditCardProcessingData.TenderedAmount; _viewModel.Gratuity = (creditCardProcessingData.TenderedAmount * Settings.GratuityRate) / 100; _view = new FdProcessorView(_viewModel); _view.FdTransactionType.SelectedIndex = 0; _viewModel.AuthCode = ""; _view.ShowDialog(); }