示例#1
0
        private void AddFileNode(ExpectedDetailResult kvp, TreeNode parent)
        {
            SafelyAddIcon(kvp.ActualFileLocation);
            TreeNode child = new TreeNode
            {
                Text        = Path.GetFileName(kvp.DisplayName),
                ImageKey    = kvp.ActualFileLocation,
                ToolTipText = kvp.ActualFileLocation
            };

            AddExpectedNode(parent, child);
        }
示例#2
0
        public int CompareTo(object obj)
        {
            ExpectedDetailResult other = obj as ExpectedDetailResult;

            return((other != null)?DisplayName.CompareTo(other.DisplayName):0);
        }