Changeset 78


Ignore:
Timestamp:
Jul 15, 2006, 6:54:23 PM (18 years ago)
Author:
mayuki
Message:

#2 シャットダウンにより終了した際に、環境設定の変更内容が保存されない」を修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MacFaceFloat/MacFaceApp.cs

    r77 r78  
    209209                        updateTimer.Start();
    210210
     211                        Microsoft.Win32.SystemEvents.SessionEnded += new Microsoft.Win32.SessionEndedEventHandler(SystemEvents_SessionEnded);
    211212                        Application.ApplicationExit += new EventHandler(Application_ApplicationExit);
    212213                        Application.Run(this);
     
    503504                        }
    504505                }
     506
     507                /// <summary>
     508                ///
     509                /// </summary>
     510                /// <param name="sender"></param>
     511                /// <param name="e"></param>
     512                private void SystemEvents_SessionEnded(object sender, Microsoft.Win32.SessionEndedEventArgs e)
     513                {
     514                        config.Save();
     515                }
    505516        }
    506517}
Note: See TracChangeset for help on using the changeset viewer.