Changeset 1633


Ignore:
Timestamp:
01/22/10 04:28:19 (5 years ago)
Author:
lowjoel
Message:

Fixed regression introduced in r1490 where CreateControl? was called in MainForm?. CreateControl? however does not create handles when the control is not visible (delayed creation.) Since only SchedulerPanel? needs to have a handle created, we'll force creation of the handle there. In addition, remove an unnecessary call to UXThemeApi.UpdateControlTheme?.

Location:
branches/eraser6/6.0/Eraser
Files:
2 edited

Legend:

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

    r1490 r1633  
    4848            contentPanel.Controls.Add(SchedulerPage); 
    4949            contentPanel.Controls.Add(SettingsPage); 
    50             CreateControl(); 
    5150 
    5251            UXThemeApi.UpdateControlTheme(this); 
  • branches/eraser6/6.0/Eraser/SchedulerPanel.cs

    r1490 r1633  
    4343        { 
    4444            InitializeComponent(); 
    45             UXThemeApi.UpdateControlTheme(schedulerDefaultMenu); 
     45            CreateHandle(); 
    4646 
    4747            //Populate the scheduler list-view with the current task list 
Note: See TracChangeset for help on using the changeset viewer.