public List<PerformerSearchCriteria> GetFilters()
 {
     var stat = new PerformerStat();
     var result = new List<PerformerSearchCriteria>();
     if (fioCheckBox.Checked)
         result.Add(new PerformerSearchCriteria
             {
                 propertyName = stat.Property(t => t.FullName),
                 compradant = fioTextBox.Text,
                 ignoreCase = !fioCSCheckBox.Checked
             });
     if (emailCheckBox.Checked)
         result.Add(new PerformerSearchCriteria
         {
             propertyName = stat.Property(t => t.Email),
             compradant = emailTextBox.Text,
             ignoreCase = !emailCSCheckBox.Checked
         });
     if (accountCheckBox.Checked)
         result.Add(new PerformerSearchCriteria
         {
             propertyName = stat.Property(t => t.Account),
             compradant = accountNumericUpDown.Value.ToString(),
             ignoreCase = true,
             checkWholeWord = true
         });
     return result;
 }
 private void UpdateServiceTypeInSelectedFunction()
 {
     var stat = new PerformerStat();
     var serviceTypeFiled = PerformerStatField.fields.FirstOrDefault(f => f.PropertyName == stat.Property(p => p.ServiceType));
     SelectedFunction.Filters.RemoveAll(f => f.a == serviceTypeFiled);
     if (signalsToolStripMenuItem.Checked || pammsToolStripMenuItem.Checked)
         SelectedFunction.Filters.Add(
             new Cortege3<PerformerStatField, ExpressionOperator, double>(serviceTypeFiled, ExpressionOperator.Equal,
                                                                      ((signalsToolStripMenuItem.Checked ? 1 : 0) +
                                                                       (pammsToolStripMenuItem.Checked ? 2 : 0))));
     topFilterControl.SetExpression(SelectedFunction);
 }