ClearIncludes() public méthode

public ClearIncludes ( ) : void
Résultat void
Exemple #1
0
        internal void SaveToIncludes(Model.FoldersRow folder)
        {
            folder.ClearIncludes();
            Model model = folder.Table.DataSet as Model;

            foreach (Row row in TableModel.Rows)
            {
                if (!row.Cells[0].Checked && row.Cells[0].Text.Length > 0)
                {
                    if (row.Cells[1].ForeColor == Color.Gray)
                    {
                        model.IncludeFilters.AddIncludeFiltersRow(row.Cells[0].Text, null, folder);
                    }
                    else
                    {
                        model.IncludeFilters.AddIncludeFiltersRow(row.Cells[0].Text, row.Cells[1].Text, folder);
                    }
                }
            }
        }
Exemple #2
0
 public virtual void SetFolder(Model.FoldersRow folder)
 {
     this.folder = folder;
     folder.ClearIncludes();
     folder.ClearExcludes();
 }
Exemple #3
0
 public virtual void SetFolder(Model.FoldersRow folder)
 {
     this.folder = folder;
     folder.ClearIncludes();
     folder.ClearExcludes();
 }