protected override void EliminarAlbaranAction() { if (Entity.AlbaranesFacturas.Count == 0) { return; } InputDeliverySelectForm form = new InputDeliverySelectForm(this, InputDeliveryList.GetList(_albaranes)); if (form.ShowDialog(this) == DialogResult.OK) { List <InputDeliveryInfo> results = form.Selected as List <InputDeliveryInfo>; foreach (InputDeliveryInfo item in results) { _entity.Extract(item); _albaranes.Remove(item); } } if (_entity.AlbaranesFacturas.Count == 0) { Serie_BT.Enabled = true; } Datos.ResetBindings(false); RefreshLineas(); }