Changeset 4368 for branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment.Views/3.3/ControlExtensions.cs
- Timestamp:
- 09/07/10 10:22:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment.Views/3.3/ControlExtensions.cs
r4121 r4368 3 3 using System.Linq; 4 4 using System.Text; 5 using System.Windows.Forms;6 5 7 6 namespace HeuristicLab.Hive.Experiment.Views { 8 7 public static class ControlExtensions { 9 public static void InvokeIfRequired(this Control c, Action<Control> action) {8 public static void InvokeIfRequired(this System.Windows.Forms.Control c, Action<System.Windows.Forms.Control> action) { 10 9 if (c.InvokeRequired) { 11 10 c.Invoke((Action)(() => action(c)));
Note: See TracChangeset
for help on using the changeset viewer.