void iconPanel_Double_Clicked(DataRow thisRow) { if (thisRow != null) { string bibid = thisRow["BibID"].ToString(); SobekCM_Items_In_Title multiple = SobekCM_Database.Get_Multiple_Volumes(bibid, null); if (multiple == null) { MessageBox.Show("Either the BibID you entered is invalid, or there was a database error."); } else { Hide(); Edit_Serial_Hierarchy_Form edit = new Edit_Serial_Hierarchy_Form(bibid, multiple); edit.ShowDialog(); refresh(); Show(); mainPanel.Width = mainPanel.Width - 1; mainPanel.Width = mainPanel.Width + 1; } } }