public P4FileTreeListViewItem(TreeListViewItem parentItem, FileMetaData fileData, IList <object> fields) : base() { ParentItem = parentItem; Fields = fields; FileData = fileData; Tag = fileData; //FileName = fileData.LocalPath.GetFileName(); //FileFolder = fileData.LocalPath.GetFileName(); }
public P4FileTreeListViewItem(TreeListViewItem parentItem, string path, FileMetaData fileData) : base() { _fileData = null; //fileData; ParentItem = parentItem; Fields = null; Tag = fileData; ImageIndex = (int)CenterImages.Portrait; AddSubitem(path, 0); this.FullLine = true; }
public TreeListViewItem(TreeListViewItem parentItem, params string[] items) : base(items) { ParentItem = parentItem; Tagged = false; FullLine = false; //Displayed = false; this.treeStateImageIndex = 0; ChildNodes = new List <TreeListViewItem>(); LeftImageIndices = new List <int>(); RightImageIndices = new List <int>(); CenterImageIndices = new List <int>(); }
//public string FileName { get; set; } //public string FileFolder { get; set; } public P4FileTreeListViewItem(TreeListViewItem parentItem, FileMetaData fileData, params object[] fields) : this(parentItem, fileData, fields.ToList <object>()) { }
public P4ObjectTreeListViewItem(TreeListViewItem parentItem, string itemText, bool fullLine) : base(parentItem, itemText, fullLine) { NodeType = nodeType.None; }