}     // end method LoadSearches

        // save a search into the Azure table for this app
        private void saveSearchButton_Click(object sender, EventArgs e)
        {
            // try to save a search
            try
            {
                // create a new TaggedSearchEntity to insert
                TaggedSearchEntity search = new TaggedSearchEntity(
                    groupTag, tagTextBox.Text, queryTextBox.Text);

                // create TableOperation to insert TaggedSearchEntity
                TableOperation insertSearch = TableOperation.Insert(search);

                // execute the TableOperation to insert the new search
                ftsTable.Execute(insertSearch);

                LoadSearches();                   // Reload searches and select new one

                queryTextBox.Text = string.Empty; // clear queryTextBox
                tagTextBox.Text   = string.Empty; // clear tagTextBox
            } // end try
            catch (Exception exception)
            {
                MessageBox.Show(
                    String.Format("Insert Failed: {0}", exception));
            } // end catch
        }     // end method saveSearchButton_Click
        }     // end method saveSearchButton_Click

        // display search results in the webBrowser control
        private void tagsListBox_SelectedIndexChanged(
            object sender, EventArgs e)
        {
            // get selected item from tagsListBox
            TaggedSearchEntity selectedSearch =
                ( TaggedSearchEntity )tagsListBox.SelectedItem;

            if (selectedSearch != null)
            {
                // create URL representing search
                String urlString = String.Format(
                    "https://twitter.com/search?q={0}",
                    HttpUtility.UrlEncode(selectedSearch.Query));

                webBrowser.Navigate(urlString); // show results
            } // end if
        } // end method tagsListBox_SelectedIndexChanged