public frmAddFoodMenuAttribute(string menu_attribute) { InitializeComponent(); this.CenterToScreen(); searchLimter.Start(); lblHeader.Text = string.Format("Edit: {0} Option", menu_attribute); //load the whole stock table initally dataGridStock.DataSource = Raw_Stock.RetrieveAll(); }
public void LoadStock() { searchLimterTimer.Start(); //load all stock initally dataGridStock.DataSource = Raw_Stock.RetrieveAll(); }