/// <summary>
        /// Edit the currently selected user data category definition
        /// </summary>
        protected void EditUserDataCategory()
        {
            if (_activeItem != null)
            {
                UserDataCategory userDataCategory = _activeItem.Tag as UserDataCategory;

                FormUserDataCategory form = new FormUserDataCategory(userDataCategory, true);
                if (form.ShowDialog() == DialogResult.OK)
                {
                    RefreshTab();
                }
            }
        }
        /// <summary>
        /// Add a new user data category
        /// </summary>
        protected void AddUserDataCategory()
        {
            UserDataCategory newCategory = new UserDataCategory();

            newCategory.Scope = _currentScope;
            newCategory.Name  = "<new category>";
            FormUserDataCategory form = new FormUserDataCategory(newCategory, false);

            if (form.ShowDialog() == DialogResult.OK)
            {
                RefreshTab();
            }
        }