private void detailsContextMenuItem_Click(object sender, EventArgs e)
        {
            if ((gridPanel == null) || (gridPanel.Selected_Row == null) || (gridPanel.Selected_Row.Length == 0))
            {
                return;
            }

            // Get first row then
            DataRow thisRow = gridPanel.Selected_Row[0];

            // Get the information from this row
            int    itemid = Convert.ToInt32(thisRow["ItemID"]);
            string vid    = thisRow["VID"].ToString();
            string bibid  = thisRow["BibID"].ToString();

            View_Item_Form showItemForm = new View_Item_Form(itemid, bibid, vid);

            Hide();
            showItemForm.ShowDialog();
            Show();
        }
        void gridPanel_Double_Clicked(DataRow thisRow)
        {
            if (thisRow == null)
            {
                return;
            }

            string bibid = thisRow["BibID"].ToString();
            string vid   = thisRow["VID"].ToString();

            // What is the currently selected action?
            if (openItemFromWebMenuItem.Checked)
            {
                string url = SobekCM_Library_Settings.System_Base_URL + bibid;
                if (vid.IndexOf("(") < 0)
                {
                    url = url + "/" + vid;
                }

                try
                {
                    Process openOnWeb = new Process {
                        StartInfo = { FileName = url }
                    };
                    openOnWeb.Start();
                }
                catch
                {
                    MessageBox.Show("Error opening item group from the web.     ", "Browser Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
            else
            {
                int            itemid       = Convert.ToInt32(thisRow["ItemID"]);
                View_Item_Form showItemForm = new View_Item_Form(itemid, bibid, vid);
                Hide();
                showItemForm.ShowDialog();
                Show();
            }
        }
        void gridPanel_Double_Clicked(DataRow thisRow)
        {
            if (thisRow == null)
                return;

            string bibid = thisRow["BibID"].ToString();
            string vid = thisRow["VID"].ToString();

            // What is the currently selected action?
            if (openItemFromWebMenuItem.Checked)
            {
                string url = SobekCM_Library_Settings.System_Base_URL + bibid;
                if (vid.IndexOf("(") < 0)
                {
                    url = url + "/" + vid;
                }

                try
                {
                    Process openOnWeb = new Process {StartInfo = {FileName = url}};
                    openOnWeb.Start();
                }
                catch
                {
                    MessageBox.Show("Error opening item group from the web.     ", "Browser Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
            else
            {
                int itemid = Convert.ToInt32(thisRow["ItemID"]);
                View_Item_Form showItemForm = new View_Item_Form(itemid, bibid, vid);
                Hide();
                showItemForm.ShowDialog();
                Show();
            }
        }
        private void detailsContextMenuItem_Click(object sender, EventArgs e)
        {
            if ((gridPanel == null) || (gridPanel.Selected_Row == null) || (gridPanel.Selected_Row.Length == 0))
                return;

            // Get first row then
            DataRow thisRow = gridPanel.Selected_Row[0];

            // Get the information from this row
            int itemid = Convert.ToInt32(thisRow["ItemID"]);
            string vid = thisRow["VID"].ToString();
            string bibid = thisRow["BibID"].ToString();

            View_Item_Form showItemForm = new View_Item_Form(itemid, bibid, vid);
            Hide();
            showItemForm.ShowDialog();
            Show();
        }