Пример #1
0
        public BotonServicio(Servicio serv, Pantalla_Ventas pnt_vnt)
        {
            this.servicio = serv;
            this.padre    = pnt_vnt;
            this.Click   += new EventHandler(this.eventoClick);

            this.Text = (
                servicio.idservicio + "\n" +
                servicio.descripcion + "\n" +
                "$ " + servicio.costo + "\n");

            this.Size = new System.Drawing.Size(75, 64);
        }
Пример #2
0
		public Ventana_Productos(Pantalla_Ventas par)
		{
			InitializeComponent();
			this.padre = par;
		}