Changeset 3399


Ignore:
Timestamp:
04/18/10 05:05:57 (12 years ago)
Author:
swagner
Message:

Set ShowViewsInViewHost of OptimizerMainForm to true again (#972)

Location:
trunk/sources
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/TextDialog.cs

    r2917 r3399  
    2929      set {
    3030        if (InvokeRequired)
    31           Invoke(new Action<string>(x => this.Caption = x));
     31          Invoke(new Action<string>(x => this.Caption = x), value);
    3232        else
    3333          this.Text = value;
     
    3838      set {
    3939        if (InvokeRequired)
    40           Invoke(new Action<string>(x => this.Content = x));
     40          Invoke(new Action<string>(x => this.Content = x), value);
    4141        else
    4242          textTextBox.Text = value;
     
    4747      set {
    4848        if (InvokeRequired)
    49           Invoke(new Action<bool>(x => this.ReadOnly = x));
     49          Invoke(new Action<bool>(x => this.ReadOnly = x), value);
    5050        else {
    5151          textTextBox.ReadOnly = value;
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2/ControlExtensions.cs

    r3398 r3399  
    3333    public static void SuspendRepaint(this Control control) {
    3434      if (control.InvokeRequired)
    35         control.Invoke((Action<Control>)((c) => { c.SuspendRepaint(); }));
     35        control.Invoke(new Action<Control>(c => c.SuspendRepaint()), control);
    3636      else
    3737        SendMessage(control.Handle, WM_SETREDRAW, false, 0);
     
    3939    public static void ResumeRepaint(this Control control, bool refresh) {
    4040      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);
    4242      else {
    4343        SendMessage(control.Handle, WM_SETREDRAW, true, 0);
  • trunk/sources/HeuristicLab.Optimizer/3.3/HeuristicLabOptimizerPlugin.cs.frame

    r3397 r3399  
    4040    public override void Run() {
    4141      OptimizerMainForm mainForm = new OptimizerMainForm(typeof(IOptimizerUserInterfaceItemProvider));
    42       mainForm.ShowViewsInViewHost = false;
     42      mainForm.ShowViewsInViewHost = true;
    4343      Application.Run(mainForm);
    4444    }
Note: See TracChangeset for help on using the changeset viewer.