Example #1
0
        private void newLocationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddLocation al = new AddLocation();

            al.ShowDialog();
            GetData();
            fillItems();
        }
Example #2
0
        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();
        }