- Timestamp:
- 09/14/12 18:58:15 (12 years ago)
- Location:
- branches/GP-MoveOperators
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP-MoveOperators
- Property svn:ignore
-
old new 21 21 protoc.exe 22 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/GP-MoveOperators/HeuristicLab.Optimizer/3.3/FileManager.cs
r7259 r8660 143 143 private static void SetEnabledStateOfContentViews(IStorableContent content, bool enabled) { 144 144 HeuristicLab.MainForm.WindowsForms.MainForm mainForm = MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>(); 145 if (mainForm.InvokeRequired)146 mainForm.Invoke((Action<IStorableContent, bool>)SetEnabledStateOfContentViews, content, enabled);147 else {145 #region Mono Compatibility 146 // removed the InvokeRequired check because of Mono 147 mainForm.Invoke((Action)delegate { 148 148 var views = MainFormManager.MainForm.Views.OfType<IContentView>().Where(v => v.Content == content).ToList(); 149 149 views.ForEach(v => v.Enabled = enabled); 150 } 150 }); 151 #endregion 151 152 } 152 153 }
Note: See TracChangeset
for help on using the changeset viewer.