private void addToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var frm = new AssetCategoryMaintenance();

            frm.ShowDialog();
            PopulateAssetCategories();
        }
        private void editToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // get category from the grid
            var aCat = (AssetCategory)uxACats.CurrentRow.DataBoundItem;

            // pass it to the constructor of the maintenance form
            var frm = new AssetCategoryMaintenance(aCat);

            frm.ShowDialog();
            PopulateAssetCategories();
        }