private void putToList() { Maker.Instance.Items.Clear(); foreach (Object obj in _listFiles.Items) { CListItem item = obj as CListItem; if (item == null) { continue; } ListFileType type = (ListFileType)((ComboBox)item.SubItems[0].Control).SelectedItem; String fileName = item.SubItems[1].Text; if (type == ListFileType.IGNORED) { continue; } ListFile file = new ListFile(); file.FileName = fileName; file.SourceDirectoryName = Path; file.DescriptionDirectoryName = MakeTo; file.FileType = type; Maker.Instance.Items.Add(file); } }
public ListFileInfo(ListFileType type, string path, string name) { switch (type) { case ListFileType.File: _image = FileImage; break; case ListFileType.Folder: _image = FolderImage; break; default: break; } _path = path; _name = name; Type = type; }
public bool this[ListFileType type] { get { return _statuses[type]; } set { _statuses[type] = value; } }
public bool this[ListFileType type] { get { return(_statuses[type]); } set { _statuses[type] = value; } }
public AnalyzerTask(GameProperty property, ListFileType type) { ListType = type; CurrentProperty = property; Status = Status.FREE; //TODO not used? }
public LinkedList <ListFile> Files(ListFileType t) { return(_list[t]); }
public LinkedList<ListFile> Files(ListFileType t) { return _list[t]; }