private void PreencherPlanoProtecaoAgregado() { ListaAgregadoVONovo = ListaAgregadoVOTemp; ListaAgregadoVOTemp = new List <TAgregadoVO>(); txtAgregadoQuantidade.Text = ListaAgregadoVONovo.Count().ToString(); txtAgregadoPremio.Text = ListaAgregadoVONovo.Sum(registro => registro.Premio).ToString(); }
private void PopularPlanoSeniorVOIncial() { txtAgregadoQuantidade.Text = ListaAgregadoVONovo.Count().ToString(); txtAgregadoPremio.Text = ListaAgregadoVONovo.Sum(registro => registro.Premio).ToString(); txtPlanoSeniorFuneralPrincipal.Text = PlanoSeniorVO.CoberturaMorte.ToString(); txtPlanoSeniorFuneralCategoria.Text = PlanoSeniorVO.NomePlano; txtPlanoSeniorFuneralPremio.Text = PlanoSeniorVO.ValorPremioIdadeBase.GetValueOrDefault().ToString(); }
private void PopularPlanoProtecaoVOIncial() { txtAgregadoQuantidade.Text = ListaAgregadoVONovo.Count().ToString(); txtAgregadoPremio.Text = ListaAgregadoVONovo.Sum(registro => registro.Premio).ToString(); txtPlanoProtecaoFuneralMorte.Text = PlanoProtecaoVO.CoberturaMorte.ToString(); txtPlanoProtecaoFuneralIPA.Text = PlanoProtecaoVO.CoberturaAcidente.ToString(); txtPlanoProtecaoFuneralAssistencia.Text = PlanoProtecaoVO.CoberturaEmergencia.ToString(); txtPlanoProtecaoFuneralDescricao.Text = PlanoProtecaoVO.NomePlano; txtPlanoProtecaoFuneralPremio.Text = PlanoProtecaoVO.ValorPremioIdadeBase.GetValueOrDefault().ToString(); }