Beispiel #1
0
        /// <summary>
        /// Limpia la forma, y reinicializa las variables
        /// </summary>
        private void DoClear()
        {
            buscarZonasBindingSource.Clear();
            AppHelper.ClearControl(this);
            Servicio = new Entities.Servicios();
            Servicio.TipoServicio_ID = DB.GetNullableInt32(this.TiposServiciosComboBox.SelectedValue);
            Servicio.Moneda_ID       = Convert.ToInt32(this.MonedasComboBox.SelectedValue);
            txtPayBack.Clear();
            txtCtaBanco.Clear();
            txtVoucher.Clear();
            //txtCtaBanco.Visible = false;
            gbPagoTarjeta.Visible = false;

            ReservacionIDTextBox.Clear();
        }
 /// <summary>
 /// Limpia la forma, y reinicializa las variables
 /// </summary>
 private void DoClear()
 {
     buscarZonasBindingSource.Clear();
     AppHelper.ClearControl(this);
     Servicio = new Entities.Servicios();
     Servicio.TipoServicio_ID  = DB.GetNullableInt32(this.TiposServiciosComboBox.SelectedValue);
     Servicio.ClaseServicio_ID = DB.GetNullableInt32(this.ClasesServiciosComboBox.SelectedValue);
     Servicio.Moneda_ID        = Convert.ToInt32(this.MonedasComboBox.SelectedValue);
     EsRegresoCheckBox.Checked = false;
     txtPayBack.Clear();
     ReservacionIDTextBox.Clear();
     txtCtaBanco.Clear();
     txtCtaBanco.Visible = false;
     lblCtaBanco.Visible = false;
 }