Esempio n. 1
0
        private void btnTestSearch_Click(object sender, EventArgs e)
        {
            TestSearchSelection dlg = new TestSearchSelection();

            dlg.Paths          = BasePath;
            dlg.Filters        = GetFilterList(false);
            dlg.DynamicFilters = m_dynamicFilter;

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                listView.Items.Clear();
                foreach (var filter in dlg.Filters)
                {
                    listView.Items.Add(filter.CreateListViewItem());
                }
            }
        }
Esempio n. 2
0
        private void btnTestSearch_Click(object sender, EventArgs e)
        {
            TestSearchSelection dlg = new TestSearchSelection();
            dlg.Paths = BasePath;
            dlg.Filters = GetFilterList(false);
            dlg.DynamicFilters = m_dynamicFilter;

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                listView.Items.Clear();
                foreach (var filter in dlg.Filters)
                    listView.Items.Add(filter.CreateListViewItem());
            }
        }