private void btnAdd_Click(object sender, EventArgs e) { FilterMatch ft = new FilterMatch(type, filter, lengthMatch); if (include == FilterInclude.Include) { lbIncludeFilters.Items.Add(ft); } else { lbExcludeFilters.Items.Add(ft); } }
private void btnAdd_Click(object sender, EventArgs e) { FilterMatch ft = new FilterMatch(type, filter, lengthMatch); if (include == FilterInclude.Include) lbIncludeFilters.Items.Add(ft); else lbExcludeFilters.Items.Add(ft); }