/// <summary>
        /// "Business Method" - Adds another page to the server index
        /// </summary>
        /// <param name="url">The URL of the page</param>
        public void AddPage(string url)
        {
            Category cat = null;

            using (FrmAddPage frm = new FrmAddPage())
            {
                frm.URL = url;
                DialogResult res = frm.ShowDialog();

                if (res != DialogResult.OK)
                {
                    return;
                }

                cat = frm.Category;
            }

            string catCmd = (cat == null ? "" : "&category=" + cat.ID);

            string commandUrl = GetBaseUrl("addpage");

            commandUrl += catCmd + "&url=" + url;

            XmlDocument doc = SendRequest(commandUrl);

            if (!CheckResult(doc))
            {
                return;
            }

            SetCategoryCounter(doc);
        }
        /// <summary>
        /// "Business Method" - Adds another page to the server index
        /// </summary>
        /// <param name="url">The URL of the page</param>
        public void AddPage(string url)
        {
            Category cat = null;
            using (FrmAddPage frm = new FrmAddPage())
            {
                frm.URL = url;
                DialogResult res = frm.ShowDialog();

                if (res != DialogResult.OK)
                    return;

                cat = frm.Category;
            }

            string catCmd = (cat == null ? "" : "&category=" + cat.ID);

            string commandUrl = GetBaseUrl("addpage");
            commandUrl += catCmd + "&url=" + url;

            XmlDocument doc = SendRequest(commandUrl);

            if (!CheckResult(doc))
                return;

            SetCategoryCounter(doc);
        }