Ignore:
Timestamp:
04/01/08 11:11:07 (7 years ago)
Author:
lowjoel
Message:

Updated Manager interface. The Constructor of the library instance now wants a Settings object, which makes sense since settings are read immediately.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/Eraser/Program.cs

    r315 r332  
    2424            Application.SafeTopLevelCaptionFormat = S._("Eraser"); 
    2525 
    26             using (ManagerLibrary library = new ManagerLibrary()) 
     26            using (ManagerLibrary library = new ManagerLibrary(new Settings())) 
    2727            using (eraserClient = new DirectExecutor()) 
    2828            { 
    29                 //Set the defaults for the library 
    30                 library.Settings = new Settings(); 
    31  
    3229                //Load the task list 
    3330                RegistryKey key = Application.UserAppDataRegistry; 
     
    120117        } 
    121118 
    122         ~Settings() 
     119        protected override void Save() 
    123120        { 
    124121            RegistryKey key = Application.UserAppDataRegistry; 
Note: See TracChangeset for help on using the changeset viewer.