/// <summary> /// Running query /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnQryRange1_Click(object sender, EventArgs e) { try { DTO.RangeFilter range = new DTO.RangeFilter(); //TODO: Validation range.Birthday = dtpQryRangeDate.Value; range.EnrollmentFeeStart = double.Parse(mskQryRangeEnrol1.Text); range.EnrollmentFeeEnd = double.Parse(mskQryRangeEnrol2.Text); FillListView(_customerBll.QueryUsingRanges(range), lvwHits3); } catch (Exception ex) { MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } }