Changeset 84 for trunk/MacFaceFloat/MacFaceApp.cs
- Timestamp:
- Sep 2, 2006, 1:58:41 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MacFaceFloat/MacFaceApp.cs
r81 r84 215 215 updateTimer.Start(); 216 216 217 Microsoft.Win32.SystemEvents.SessionEnd ed += new Microsoft.Win32.SessionEndedEventHandler(SystemEvents_SessionEnded);217 Microsoft.Win32.SystemEvents.SessionEnding += new Microsoft.Win32.SessionEndingEventHandler(SystemEvents_SessionEnding); 218 218 Application.ApplicationExit += new EventHandler(Application_ApplicationExit); 219 219 Application.Run(this); … … 303 303 304 304 int avilable = (int)memStats.TotalVisibleMemorySize * 1024 - memUsage.Used; 305 if (pageio_count > 100)305 /*if (pageio_count > 100) 306 306 { 307 307 suite = FaceDef.PatternSuite.MemoryInsufficient; 308 308 } 309 else if (avilable < 0)309 else */if (avilable < 0) 310 310 { 311 311 suite = FaceDef.PatternSuite.MemoryInsufficient; … … 518 518 /// <param name="sender"></param> 519 519 /// <param name="e"></param> 520 private void SystemEvents_SessionEnd ed(object sender, Microsoft.Win32.SessionEndedEventArgs e)520 private void SystemEvents_SessionEnding(object sender, Microsoft.Win32.SessionEndingEventArgs e) 521 521 { 522 522 config.Save();
Note: See TracChangeset
for help on using the changeset viewer.