示例#1
0
 private void MetroButton1_Click(object sender, EventArgs e)
 {
     supplierBindingSource.EndEdit();
     db.SaveChangesAsync();
     System.Windows.Forms.MessageBox.Show("Saved!");
     this.Close();
 }
示例#2
0
 private void BtnSave_Click(object sender, EventArgs e)
 {
     customerBindingSource.EndEdit();
     db.SaveChangesAsync();
     System.Windows.Forms.MessageBox.Show("Saved!");
     this.Close();
 }