public void AddFolder(string name, string ext, string path) { var item = new ExplorerItem("", name, ext, path, true) { Parent = this }; Items.Add(item); }
public void AddFile(string name, string ext, string path) { var item = new ExplorerItem(Ico(ext), name, ext, path, false) { Parent = this }; Items.Add(item); }