Beispiel #1
0
 private void btnNovoItem_Click(object sender, EventArgs e)
 {
     this.itensVendaBindingSource.EndEdit();
     this.ProdutosCorrente.quantidade = (int)(this.ProdutosCorrente.quantidade - Convert.ToInt32(quantidadeTextBox.Text));
     DataGridItem.Refresh();
     DataContextFactory.DataContext.SubmitChanges();
     MostraSomaValores();
     NovoItem();
 }