Exemplo n.º 1
0
        private void newLocationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddLocation al = new AddLocation();

            al.ShowDialog();
            GetData();
            fillItems();
        }
Exemplo n.º 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();
        }