private void onRecordSearch(object sender, EventArgs e)
        {
            m_dlgSearch.ShowDialog();
            String selectedId = m_dlgSearch.getSelectedId();

            if (selectedId.Length != 0)
            {
                guiTabControl.SelectedIndex = 0;
                guiSearchTxt.Text           = selectedId;
                loadMission(selectedId);
            }
        }
        public void equipVisualEffectBtn_Click(object sender, EventArgs e)
        {
            if (m_equipVisualEffectSearch == null)
            {
                m_equipVisualEffectSearch = new DlgSearch();
                m_equipVisualEffectSearch.configure(Net7.Tables.effects);
            }
            m_equipVisualEffectSearch.ShowDialog();
            String selectedId = m_equipVisualEffectSearch.getSelectedId();

            if (selectedId.Length != 0)
            {
                m_equipVisualEffect.Text = selectedId;
            }
        }
        public static String search(DataType dataType)
        {
            DataConfiguration dataConfiguration;

            if (m_DataConfigurations.TryGetValue(dataType, out dataConfiguration))
            {
                m_dlgSearch.configure(dataConfiguration.m_table);
                m_dlgSearch.ShowDialog();
                return(m_dlgSearch.getSelectedId());
            }
            else
            {
                throw (new Exception("Unable to convert '" + dataType.ToString() + "' into a DataConfiguration.DataType"));
            }
        }