示例#1
0
 private void butAdvSearch_Click(object sender, EventArgs e)
 {
     using (FormWikiListAdvancedSearch FormWLAS = new FormWikiListAdvancedSearch(_listColumnHeaders)) {
         FormWLAS.SelectedColumnIndices = _arraySearchColIdxs;
         if (FormWLAS.ShowDialog() == DialogResult.OK)
         {
             _arraySearchColIdxs = FormWLAS.SelectedColumnIndices;
             FillGrid();
         }
     }
     ActiveControl = textSearch;
 }
示例#2
0
        private void butAdvSearch_Click(object sender, EventArgs e)
        {
            List <WikiListHeaderWidth> colHeaderWidths = WikiListHeaderWidths.GetForList(WikiListCurName);
            FormWikiListAdvancedSearch FormWLAS        = new FormWikiListAdvancedSearch(colHeaderWidths);

            //FormWLAS.ShowDialog();
            if (FormWLAS.ShowDialog() == DialogResult.OK)
            {
                _arraySearchColIdxs = FormWLAS.SelectedColumnIndices;
                FillGrid();
            }
            ActiveControl = textSearch;
        }