Пример #1
0
        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);
            }
        }
Пример #2
0
 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);
 }