private void Skip(int selectedIndex)
        {
            toolStripContainer.ContentPanel.Controls.Clear();
            if (m_DataGridView.Tag != null && Core.Searches.ContainsKey((string)m_DataGridView.Tag) && Core.Searches[(string)m_DataGridView.Tag].Results.ContainsKey(((RandomTag <string>)m_DataGridView.Rows[selectedIndex].Tag).Tag))
            {
                Search.Result result = Core.Searches[(string)m_DataGridView.Tag].Results[((RandomTag <string>)m_DataGridView.Rows[selectedIndex].Tag).Tag];
                if (m_InformationControl != null)
                {
                    m_InformationControl.Dispose();
                }
                m_InformationControl      = new SearchResultInformationControl(result);
                m_InformationControl.Dock = DockStyle.Fill;
                if (m_SourcesControl != null)
                {
                    m_SourcesControl.Dispose();
                }
                m_SourcesControl      = new SearchResultSourcesControl(result);
                m_SourcesControl.Dock = DockStyle.Fill;
                switch (m_Settings["SearchResultInformationDialogLastTab"])
                {
                case "1":
                    sourcesToolStripButton.PerformClick();
                    break;

                default:
                    informationToolStripButton.PerformClick();
                    break;
                }
            }
        }
 private void Skip(int selectedIndex)
 {
     toolStripContainer.ContentPanel.Controls.Clear();
     if (m_DataGridView.Tag != null && Core.Searches.ContainsKey((string)m_DataGridView.Tag) && Core.Searches[(string)m_DataGridView.Tag].Results.ContainsKey(((RandomTag<string>)m_DataGridView.Rows[selectedIndex].Tag).Tag))
     {
         Search.Result result = Core.Searches[(string)m_DataGridView.Tag].Results[((RandomTag<string>)m_DataGridView.Rows[selectedIndex].Tag).Tag];
         if (m_InformationControl != null)
             m_InformationControl.Dispose();
         m_InformationControl = new SearchResultInformationControl(result);
         m_InformationControl.Dock = DockStyle.Fill;
         if (m_SourcesControl != null)
             m_SourcesControl.Dispose();
         m_SourcesControl = new SearchResultSourcesControl(result);
         m_SourcesControl.Dock = DockStyle.Fill;
         switch (m_Settings["SearchResultInformationDialogLastTab"])
         {
             case "1":
                 sourcesToolStripButton.PerformClick();
                 break;
             default:
                 informationToolStripButton.PerformClick();
                 break;
         }
     }
 }