Changeset 900


Ignore:
Timestamp:
4/28/2009 8:01:00 AM (6 years ago)
Author:
lowjoel
Message:

Allow long logs to be displayed rapidly by disabling redrawing until all items are added.

Location:
branches/eraser6/Eraser
Files:
2 edited

Legend:

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

    r880 r900  
    4545 
    4646            //Add all the existing log messages 
     47            this.log.BeginUpdate(); 
    4748            Dictionary<DateTime, List<LogEntry>> log = task.Log.Entries; 
    48             Dictionary<DateTime, List<LogEntry>>.Enumerator iter = log.GetEnumerator(); 
    4949            foreach (DateTime sessionTime in log.Keys) 
    5050            { 
     
    5656            //Register our event handler to get live log messages 
    5757            task.Log.OnLogged += new Logger.LogEventFunction(task_Logged); 
     58            this.log.EndUpdate(); 
    5859        } 
    5960 
  • branches/eraser6/Eraser/LogForm.resx

    r880 r900  
    241241    <value>True</value> 
    242242  </metadata> 
    243   <metadata name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    244     <value>Dutch</value> 
    245   </metadata> 
    246243  <data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing"> 
    247244    <value>96, 96</value> 
Note: See TracChangeset for help on using the changeset viewer.