Changeset 3399 for trunk/sources
- Timestamp:
- 04/18/10 05:05:57 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/TextDialog.cs
r2917 r3399 29 29 set { 30 30 if (InvokeRequired) 31 Invoke(new Action<string>(x => this.Caption = x) );31 Invoke(new Action<string>(x => this.Caption = x), value); 32 32 else 33 33 this.Text = value; … … 38 38 set { 39 39 if (InvokeRequired) 40 Invoke(new Action<string>(x => this.Content = x) );40 Invoke(new Action<string>(x => this.Content = x), value); 41 41 else 42 42 textTextBox.Text = value; … … 47 47 set { 48 48 if (InvokeRequired) 49 Invoke(new Action<bool>(x => this.ReadOnly = x) );49 Invoke(new Action<bool>(x => this.ReadOnly = x), value); 50 50 else { 51 51 textTextBox.ReadOnly = value; -
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2/ControlExtensions.cs
r3398 r3399 33 33 public static void SuspendRepaint(this Control control) { 34 34 if (control.InvokeRequired) 35 control.Invoke( (Action<Control>)((c) => { c.SuspendRepaint(); }));35 control.Invoke(new Action<Control>(c => c.SuspendRepaint()), control); 36 36 else 37 37 SendMessage(control.Handle, WM_SETREDRAW, false, 0); … … 39 39 public static void ResumeRepaint(this Control control, bool refresh) { 40 40 if (control.InvokeRequired) 41 control.Invoke( (Action<Control, bool>)((c, b) => { c.ResumeRepaint(b); }));41 control.Invoke(new Action<Control, bool>((c, b) => c.ResumeRepaint(b)), control, refresh); 42 42 else { 43 43 SendMessage(control.Handle, WM_SETREDRAW, true, 0); -
trunk/sources/HeuristicLab.Optimizer/3.3/HeuristicLabOptimizerPlugin.cs.frame
r3397 r3399 40 40 public override void Run() { 41 41 OptimizerMainForm mainForm = new OptimizerMainForm(typeof(IOptimizerUserInterfaceItemProvider)); 42 mainForm.ShowViewsInViewHost = false;42 mainForm.ShowViewsInViewHost = true; 43 43 Application.Run(mainForm); 44 44 }
Note: See TracChangeset
for help on using the changeset viewer.