- Timestamp:
- 04/13/12 21:56:44 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.Views/3.3/StateLog/StateLogGanttChartListView.cs
r7410 r7728 50 50 } 51 51 52 #region Event Handlers (Content)53 // Put event handlers of the content here54 #endregion55 56 52 protected override void OnContentChanged() { 57 53 base.OnContentChanged(); … … 77 73 } 78 74 79 for (int i = 0; i < Content.Count; i++) {75 for (int i = Content.Count - 1; i >= 0; i--) { 80 76 for (int j = 0; j < Content[i].Count - 1; j++) { 81 77 if (Content[i][j].State != TaskState.Offline) … … 104 100 DateTime until = to != null ? to.DateTime : upperLimit; 105 101 TimeSpan duration = until - from.DateTime; 106 string tooltip = string.Format("Task: {0} " + Environment.NewLine + "Task Id: {1}" + Environment.NewLine + "State: {2} " + Environment.NewLine + "Duration: {3} " + Environment.NewLine + "{4} - {5}", from.TaskName, from.TaskId, from.State, duration, from.DateTime, until); 102 string tooltip = string.Format("Task: {0} " + Environment.NewLine + "Task Id: {1}" + Environment.NewLine + "State: {2} " + Environment.NewLine + "Duration: {3} " + Environment.NewLine + "{4} - {5}" + Environment.NewLine, from.TaskName, from.TaskId, from.State, duration, from.DateTime, until); 103 104 if (to != null && to.SlaveId != null) 105 tooltip += "Slave: " + to.SlaveId; 106 107 107 if (!string.IsNullOrEmpty(from.Exception)) 108 108 tooltip += Environment.NewLine + from.Exception; … … 112 112 protected override void SetEnabledStateOfControls() { 113 113 base.SetEnabledStateOfControls(); 114 // Enable or disable controls based on whether the content is null or the view is set readonly115 114 } 116 117 #region Event Handlers (child controls)118 // Put event handlers of child controls here.119 #endregion120 115 } 121 116 }
Note: See TracChangeset
for help on using the changeset viewer.