Ignore:
Timestamp:
2/3/2010 12:13:11 AM (2 years ago)
Author:
lowjoel
Message:

Fixed potential regression in r1721 and r1633 where we added in calls to CreateHandle? so that window handles are created immediately for calls to InvokeRequired?. Move those calls to the start of the constructor so that the handle will not be already created and throw an InvalidOperationException?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/6.0/Eraser/SchedulerPanel.cs

    r1719 r1734  
    4242        public SchedulerPanel() 
    4343        { 
     44            CreateHandle(); 
    4445            InitializeComponent(); 
    4546            UXThemeApi.UpdateControlTheme(schedulerDefaultMenu); 
    46             CreateHandle(); 
    4747 
    4848            //Populate the scheduler list-view with the current task list 
Note: See TracChangeset for help on using the changeset viewer.