public VenderEmpresaBotines() { InitializeComponent(); this.empresaDeCalzado = new EmpresaDeCalzado(); this.empresaDeCalzado.vendiBotin += AgregarItem; this.hilo = new Thread(this.empresaDeCalzado.VenderBotines); this.hilo.Start(); }
public VenderEmpresaZapatillas() { InitializeComponent(); this.empresaDeCalzado = new EmpresaDeCalzado(); this.empresaDeCalzado.vendiZapatilla += AgregarItem; this.hilo = new Thread(this.empresaDeCalzado.VenderZapatillas); this.hilo.Start(); }