CNSA-212-FP/Louis'-Pharmacy_CNSA212-FP/frmRefill.cs

36 lines
1002 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Louis__Pharmacy_CNSA212_FP
{
public partial class frmRefill : Form
{
public frmRefill()
{
InitializeComponent();
}
private void rEFILLSBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
this.Validate();
this.rEFILLSBindingSource.EndEdit();
this.tableAdapterManager.UpdateAll(this.finalProjectOfficialPharmacyDataSet);
}
private void frmRefill_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the 'finalProjectOfficialPharmacyDataSet.REFILLS' table. You can move, or remove it, as needed.
this.rEFILLSTableAdapter.Fill(this.finalProjectOfficialPharmacyDataSet.REFILLS);
}
}
}