private void btnRetry_Click(object sender, RoutedEventArgs e) { if (CashmaticCommands.IsConnected()) { Debug.Log("CashmaticApp", "Button retry click"); _ob.ready2order.paymentMethod_id = _ob.panda.paymentMethodCASH; Application.Current.MainWindow.Content = new PaymentPandingCash(_ob); } }