public UserFilterObject(FilterList List, string Name, bool LinkWithAnd) { Filters = List; FilterName = Name; LinkWithAndState = LinkWithAnd; Filters.LinkWithAnd = LinkWithAnd; }
public FilteredLogSlot AddSlot(string Name, FilterList Filters) { FilteredLogSlot Slot = null; if (string.IsNullOrEmpty(Name) || Filters == null) return null; Slot = new FilteredLogSlot(Name, Filters); Slots.Add(Slot); return Slot; }
public void Dispose() { CheckDisposed(); FilteredList.Clear(); FilteredList = null; SlotFilters.Clear(); SlotFilters = null; Ui.ClearTab(); Ui.Dispose(); Ui = null; Disposed = true; }
public FilteredLogSlot AddSlot(string Name, FilterList Filters) { FilteredLogSlot Slot = null; if (string.IsNullOrEmpty(Name) || Filters == null) { return(null); } Slot = new FilteredLogSlot(Name, Filters); Slots.Add(Slot); return(Slot); }
public static List <UserFilterObject> LoadFilters(string Filename) { IFormatter BinFormat = new BinaryFormatter(); Stream FileObj = null; List <UserFilterObject> Filters; try { FileObj = new FileStream(Filename, FileMode.Open, FileAccess.Read); Filters = (List <UserFilterObject>)BinFormat.Deserialize(FileObj); FileObj.Close(); } catch { return(null); } return(Filters); }
public static List<UserFilterObject> LoadFilters(string Filename) { IFormatter BinFormat = new BinaryFormatter(); Stream FileObj = null; List<UserFilterObject> Filters; try { FileObj = new FileStream(Filename, FileMode.Open, FileAccess.Read); Filters = (List<UserFilterObject>)BinFormat.Deserialize(FileObj); FileObj.Close(); } catch { return null; } return Filters; }
public void SetFilter(FilterList filters) { Filters = filters; }
public FilteredLogSlot(string Slotname, FilterList Filters) { FilteredList = new EntryList(); SlotFilters = Filters; SlotName = Slotname; }