Ejemplo n.º 1
0
        public override String ToString()
        {
            DarUnidadesClient c = new DarUnidadesClient();

            return(((amount != null) ? amount + " " : "") + type + ((color != null) ? " | " + color : "") +
                   ((size != null) ? " | " + size + c.DarUnidadId(sizeUnit) : "") + ((maxPrice != null) ? " | " + maxPrice + " €" : ""));
        }
Ejemplo n.º 2
0
        public override String ToString()
        {
            DarUnidadesClient c = new DarUnidadesClient();

            return(((amount != null) ? amount + " " : "") + ((Request.Type != null) ?  Request.Type + " " : "") + ((type != null) ? " | Descripcion:" + type + " " : "") + ((color != null) ? " | " + color : "") +
                   ((size != null) ? " | " + size + c.DarUnidadId(sizeUnit) : "") + ((Price != null) ? " | " + Price + " €" : ""));
        }
Ejemplo n.º 3
0
        private void Hacer_Oferta_Load(object sender, EventArgs e)
        {
            DarUnidadesClient c    = new DarUnidadesClient();
            dynamic           json = Newtonsoft.Json.JsonConvert.DeserializeObject <List <String> >(c.DarTodasUnidades());

            Concepto.Text = "Tipo: " + request.Type;
            LTam.Text     = "Tamaño:" + ((request.Size != null && request.Size != 0.0) ? request.Size.ToString() + c.DarUnidadId(request.SizeUnit) : "");
        }