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

Forward port from Eraser 6.0: 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?. Check that IsHandleCreated? is false so that the handle will not be recreated and throw an InvalidOperationException?

Location:
trunk/eraser6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6

  • trunk/eraser6/Eraser/MainForm.cs

    r1722 r1736  
    4848            contentPanel.Controls.Add(SchedulerPage); 
    4949            contentPanel.Controls.Add(SettingsPage); 
    50             CreateHandle(); 
     50            if (!IsHandleCreated) 
     51                CreateHandle(); 
    5152 
    5253            UXThemeApi.UpdateControlTheme(this); 
Note: See TracChangeset for help on using the changeset viewer.