コード例 #1
0
        private void InsertarValorInicial(bool hayError)
        {
            DtoSexo myDto = new DtoSexo();

            myDto.IdSexo      = 0;
            myDto.Descripcion = (hayError?StringResources.ItemInicial_Sexo_Error:StringResources.ItemInicial_Sexo_Correcto);
            this.SexoList.Insert(0, myDto);
        }
コード例 #2
0
        private void InsertarValorInicial()
        {
            DtoSexo myDto = new DtoSexo();

            myDto.IdSexo      = 0;
            myDto.Descripcion = "Seleccione estado civil";
            this.SexoList.Insert(0, myDto);
        }