private void Descuento_NTB_TextChanged(object sender, EventArgs e) { _entity.Descuento = PDescuento_NTB.DecimalValue; _entity.CalculaTotal(); Datos_Concepto.ResetBindings(false); Datos.ResetBindings(false); }
protected override void EliminarAlbaranAction() { if (Entity.AlbaranTickets.Count == 0) { return; } DeliverySelectForm form = new DeliverySelectForm(this, ETipoEntidad.Cliente, OutputDeliveryList.GetList(_albaranes)); form.ShowDialog(this); if (form.DialogResult == DialogResult.OK) { List <OutputDeliveryInfo> results = form.Selected as List <OutputDeliveryInfo>; foreach (OutputDeliveryInfo item in results) { _entity.Extract(item); _albaranes.Remove(item); } } if (_entity.AlbaranTickets.Count == 0) { Serie_BT.Enabled = true; } Datos_Concepto.ResetBindings(false); }
private void TicketAddForm_Shown(object sender, EventArgs e) { if (_albaran != null) { AddAlbaran(_albaran); Datos_Concepto.ResetBindings(true); Conceptos_DGW.Refresh(); } }
protected override void NuevoAlbaranAction() { AddAlbaran(); if (Result == BGResult.OK) { Datos_Concepto.ResetBindings(false); } }
protected virtual void RefreshConceptos() { Datos_Concepto.ResetBindings(true); Lineas_DGW.Refresh(); }