public Cliente(string dni, string nombre, long tfno, Tipo_cliente categoria) { this.Dni = dni; this.Nombre = nombre; this.Tfno = tfno; this.Categoria = categoria; PresupuestoList = new List <Presupuesto>(); }
///<summary> ///Marca los botones segun el Tipo Cliente ///</summary> public void marcarTipoCliente(Tipo_cliente t) { switch (t) { case Tipo_cliente.Baja: botonA.Checked = false; botonB.Checked = false; botonC.Checked = true; break; case Tipo_cliente.Media: botonA.Checked = false; botonB.Checked = true; botonC.Checked = false; break; case Tipo_cliente.Alta: botonA.Checked = true; botonB.Checked = false; botonC.Checked = false; break; } }