Changeset 5220
- Timestamp:
- 01/05/11 09:43:22 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DebugEngine/3.3/OperationContentView.cs
r5146 r5220 99 99 node.SelectedImageIndex = 0; 100 100 foreach (var var in scope.Variables) { 101 TreeNode varNode = node.Nodes.Add(string.Format("{0} ={1}", var.Name, var.Value));101 TreeNode varNode = node.Nodes.Add(string.Format("{0} = {1}", var.Name, var.Value)); 102 102 varNode.Tag = var.Value; 103 103 varNode.ToolTipText = string.Format("{0}{1}{1}{2}", … … 149 149 string actualName = null; 150 150 object value = GetParameterValue(param, executionContext, out actualName); 151 if (value == null) 152 value = "null"; 151 153 string label = actualName != null && actualName != param.Name ? 152 string.Format("{0} ({1})={2}", param.Name, actualName, value) :153 string.Format("{0} ={1}", param.Name, value);154 string.Format("{0} ({1}) = {2}", param.Name, actualName, value) : 155 string.Format("{0} = {1}", param.Name, value); 154 156 TreeNode paramNode = node.Nodes.Add(label); 155 157 paramNode.Tag = param; … … 265 267 #endregion 266 268 267 268 269 } 269 270 }
Note: See TracChangeset
for help on using the changeset viewer.