Changeset 84


Ignore:
Timestamp:
Sep 2, 2006, 1:58:41 AM (18 years ago)
Author:
mayuki
Message:
  • ページI/Oの値を使うようにすると一部環境で表情が戻らなくなるので、暫定的に影響しないようにコメントアウト
  • セッション終了完了時に設定を保存していたため、顔パターンウィンドウが閉じた状態が保存されていたので、ウィンドウが閉じられる前に保存するようにした
Location:
trunk/MacFaceFloat
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MacFaceFloat/AssemblyInfo.cs

    r79 r84  
    2727// ビルドおよびリビジョン番号を既定値にすることができます。
    2828
    29 [assembly: MacFace.FloatApp.ApplicationVersionString("2006-07-15 (アルファ版)")]
     29[assembly: MacFace.FloatApp.ApplicationVersionString("2006-09-02 (アルファ版)")]
    3030[assembly: AssemblyInformationalVersion("1.0.0.0")]
    3131[assembly: AssemblyVersion("1.0.*")]
  • trunk/MacFaceFloat/MacFaceApp.cs

    r81 r84  
    215215                        updateTimer.Start();
    216216
    217                         Microsoft.Win32.SystemEvents.SessionEnded += new Microsoft.Win32.SessionEndedEventHandler(SystemEvents_SessionEnded);
     217                        Microsoft.Win32.SystemEvents.SessionEnding += new Microsoft.Win32.SessionEndingEventHandler(SystemEvents_SessionEnding);
    218218                        Application.ApplicationExit += new EventHandler(Application_ApplicationExit);
    219219                        Application.Run(this);
     
    303303
    304304                                int avilable = (int)memStats.TotalVisibleMemorySize * 1024 - memUsage.Used;
    305                                 if (pageio_count > 100)
     305                                /*if (pageio_count > 100)
    306306                                {
    307307                                        suite = FaceDef.PatternSuite.MemoryInsufficient;
    308308                                }
    309                                 else if (avilable < 0)
     309                                else */if (avilable < 0)
    310310                                {
    311311                                        suite = FaceDef.PatternSuite.MemoryInsufficient;
     
    518518                /// <param name="sender"></param>
    519519                /// <param name="e"></param>
    520                 private void SystemEvents_SessionEnded(object sender, Microsoft.Win32.SessionEndedEventArgs e)
     520                private void SystemEvents_SessionEnding(object sender, Microsoft.Win32.SessionEndingEventArgs e)
    521521                {
    522522                        config.Save();
Note: See TracChangeset for help on using the changeset viewer.