/// <summary> /// Running query /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnQryComb1_Click(object sender, EventArgs e) { try { DTO.CombinedFilter filter = new DTO.CombinedFilter(); //TODO: Validation filter.HasChildren = bool.Parse(cboQryMustHasChildren.Text); filter.Ages = txtQryShouldHaveAges.Text.Split(',').ToList <string>(); filter.Names = txtQryMustNotName.Text.Split(',').ToList <string>(); FillListView(_customerBll.QueryUsingCombinations(filter), lvwHits2); } catch (Exception ex) { MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } }