Beispiel #1
0
        private void searchButton_Click(object sender, EventArgs e)
        {
            if (leMAP == null || leMAP.EntryList == null || leMAP.EntryCount == 0)
            {
                return;
            }

            // On utilise la boite de dialogue de recherche
            StringCollection columnNames = new StringCollection();

            columnNames.Add("File Id");
            columnNames.Add("Size 1 (bytes)");
            columnNames.Add("Size 2 (bytes)");
            columnNames.Add("File name (from KEY file)");
            columnNames.Add("Actual size (bytes)");

            ListViewSearchBox searchBox = ListViewSearchBox.GetInstance(entryList, _LABEL_SEARCH, columnNames);

            searchBox.Show(this);
        }
Beispiel #2
0
        private void searchButton_Click(object sender, EventArgs e)
        {
            // Clic sur le bouton de recherche
            if (fileList.Items.Count == 0)
            {
                return;
            }

            // On utilise la boite de dialogue de recherche
            StringCollection columnNames = new StringCollection();

            columnNames.Add("#");
            columnNames.Add("Result");
            columnNames.Add("File Name");
            columnNames.Add("MAP Identifier(s)");

            ListViewSearchBox searchBox = ListViewSearchBox.GetInstance(fileList, "", columnNames);

            searchBox.Show(this);
        }