private void foodToolstripButton_Click(object sender, EventArgs e) { foodForm food = new foodForm(this, cB); food.Show(); setButtonEnabling(foodButton, false); }
public foodAddForm(foodForm fF, SR2DClassBound cB) { InitializeComponent(); this.fF = fF; this.cB = cB; this.db = cB.db; foodTypeIDs = new List <int>(); fill(); }
public foodModifyForm(foodForm fF, SR2DClassBound cB, DataRow refDR) { InitializeComponent(); this.fF = fF; this.cB = cB; this.db = cB.db; this.refDR = refDR; foodTypeIDs = new List <int>(); fill(); }
public foodTypeForm(foodForm fF, SR2DClassBound cB) { InitializeComponent(); this.fF = fF; this.cB = cB; this.db = cB.db; db.Ds.DatasetUpdatedEvent += new SR2DDataset.EventHandler(update); setServiceMode(); fillGridView(); }