/// <summary>
 /// Handles the Load event of the ucInterJetPaymentForm control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 private void ucInterJetPaymentForm_Load(object sender, EventArgs e)
 {
     try
     {
         InterJetPaymentFormHandler.Initialize();
         if (!ImpuestosBajoCosto.continuePayment && !VolarisSession.IsVolarisProcess)
         {
             MessageBox.Show("El tiempo para la realizar la compra de la reserva se agoto, favor de realzar nuevamente la reserva");
             Loader.AddToPanel(Loader.Zone.Middle, this, Resources.Constants.UCAVAILABILITY);
         }
         else
         {
             this.commitButton.Focus();
             ucFirstValidations.NameProfile = InterJetPaymentFormHandler.InterJetProfile.SecondLevelProfile;
             if (string.IsNullOrEmpty(ucFirstValidations.DK))
             {
                 ucFirstValidations.DK = InterJetPaymentFormHandler.InterJetProfile.FirstLevelProfile;
             }
             //ucFirstValidations.GetCreditCards();
         }
     }
     catch (Exception ex)
     {
     }
 }
        /// <summary>
        /// Handles the SelectedIndexChanged event of the creditCardComboBox control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        private void creditCardComboBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            InterJetPaymentFormHandler.OnChangeSelectedTypeOfPayment(sender, e);
            if (creditCardComboBox.SelectedValue.Equals("AG"))
            {
                HideShow(false);
                lblAmount.Text = (InterJetPaymentFormHandler.GetAvailableCretid()).ToString("#.00");
            }
            else
            {
                HideShow(true);
            }

            if (creditCardComboBox.SelectedValue.Equals("AMEX") ||
                creditCardComboBox.SelectedValue.Equals("A3") ||
                creditCardComboBox.SelectedValue.Equals("AX"))
            {
                ShowQualityControls(true);
            }
            else
            {
                ShowQualityControls(false);
            }
        }
 /// <summary>
 /// Handles the Click event of the button3 control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 private void button3_Click(object sender, EventArgs e)
 {
     InterJetPaymentFormHandler.SetGoToPayment();
     InterJetPaymentFormHandler.SetCredentialsToSession();
     InterJetPaymentFormHandler.ShowDetallesDeVuelo();
 }