Changeset 5674
- Timestamp:
- 03/14/11 00:55:53 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/QueryView.cs
r5612 r5674 116 116 this.Cursor = Cursors.Default; 117 117 SetEnabledStateOfControls(); 118 try { 119 t.Wait(); 120 } 121 catch (AggregateException ex) { 122 try { 123 ex.Flatten().Handle(x => x is OperationCanceledException); 124 } 125 catch (AggregateException remaining) { 126 if (remaining.InnerExceptions.Count == 1) ErrorHandling.ShowErrorDialog(this, "Refresh results failed.", remaining.InnerExceptions[0]); 127 else ErrorHandling.ShowErrorDialog(this, "Refresh results failed.", remaining); 128 } 129 } 118 130 })); 119 131 }); … … 199 211 return new Data.DoubleValue(((FloatValue)value).Value); 200 212 } else if (value is DoubleValue) { 201 return new Data.DoubleValue((( FloatValue)value).Value);213 return new Data.DoubleValue(((DoubleValue)value).Value); 202 214 } else if (value is IntValue) { 203 215 return new Data.IntValue((int)((IntValue)value).Value); 204 216 } else if (value is LongValue) { 205 return new Data.IntValue((int)(( IntValue)value).Value);217 return new Data.IntValue((int)((LongValue)value).Value); 206 218 } else if (value is StringValue) { 207 219 return new Data.StringValue(((StringValue)value).Value);
Note: See TracChangeset
for help on using the changeset viewer.