private void cboColumnList_SelectedValueChanged(object sender, EventArgs e)
        {
            //update our delegate to do the right match method based on what they selected in the combo.
            switch ((string)cboColumnList.SelectedItem)
            {
            case ApplicationDescriptionItemName:
                m_SessionQuery = MatchOnApplicationDescription;
                break;

            case CommandLineItemName:
                m_SessionQuery = MatchOnCommandLine;
                break;

            case DnsDomainNameItemName:
                m_SessionQuery = MatchOnDnsDomainName;
                break;

            case HostNameItemName:
                m_SessionQuery = MatchOnHostName;
                break;

            case UserDomainNameItemName:
                m_SessionQuery = MatchOnUserDomainName;
                break;

            case UserNameItemName:
                m_SessionQuery = MatchOnUserName;
                break;

            default:
                m_SessionQuery = null;
                break;
            }

            //clear our existing results so we will do a new search.
            ClearSearch();
            btnSearch.Enabled = IsValid;
        }
        private void cboColumnList_SelectedValueChanged(object sender, EventArgs e)
        {
            //update our delegate to do the right match method based on what they selected in the combo.
            switch ((string)cboColumnList.SelectedItem)
            {
                case ApplicationDescriptionItemName:
                    m_SessionQuery = MatchOnApplicationDescription;
                    break;
                case CommandLineItemName:
                    m_SessionQuery = MatchOnCommandLine;
                    break;
                case DnsDomainNameItemName:
                    m_SessionQuery = MatchOnDnsDomainName;
                    break;
                case HostNameItemName:
                    m_SessionQuery = MatchOnHostName;
                    break;
                case UserDomainNameItemName:
                    m_SessionQuery = MatchOnUserDomainName;
                    break;
                case UserNameItemName:
                    m_SessionQuery = MatchOnUserName;
                    break;
                default:
                    m_SessionQuery = null;
                    break;
            }

            //clear our existing results so we will do a new search.
            ClearSearch();
            btnSearch.Enabled = IsValid;
        }