Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3590


Ignore:
Timestamp:
05/03/10 13:39:56 (15 years ago)
Author:
mkommend
Message:

removed warning from ViewHostPanel (ticket #993)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ViewHostPanel.cs

    r3572 r3590  
    3838      //mkommend: solution to resizing issues. taken from http://support.microsoft.com/kb/953934
    3939      if (this.Handle != null)
    40         this.BeginInvoke((MethodInvoker)delegate { base.OnSizeChanged(e); });
     40        this.BeginInvoke((Action<EventArgs>) OnSizeChangedHelper,e);
     41    }
    4142
     43    private void OnSizeChangedHelper(EventArgs e) {
     44      base.OnSizeChanged(e);
    4245    }
    4346  }
Note: See TracChangeset for help on using the changeset viewer.