private void newLocationToolStripMenuItem_Click(object sender, EventArgs e) { AddLocation al = new AddLocation(); al.ShowDialog(); GetData(); fillItems(); }
private void toolStripAdd_Click(object sender, EventArgs e) { AddLocation al = new AddLocation(); al.ShowDialog(); // After adding the new location, refetch the data from database, to view updated record GetData(); }