+ except
+ end;
+
+ //\83A\83h\83\8c\83X\97\9a\97ð\95Û\91¶
+ try
+ //AddressHistoryDM\82Í\8e©\93®\90¶\90¬\83t\83H\81[\83\80\82È\82Ì\82Å\81A\89ð\95ú\82Í\8e©\93®\93I\82É\82³\82ê\82é\81B
+ AddressHistoryDM.WriteHistory(AddressComboBox.Items, GikoSys.Setting.MaxRecordCount);
+ except
+ end;
+
+ //\83q\83X\83g\83\8a\83\8a\83X\83g\95Û\91¶
+ try
+ FHistoryList.SaveToFile(GikoSys.GetConfigDir + 'History.xml');
+ except
+ end;
+
+ //\8f\84\89ñ\83\8a\83X\83g\95Û\91¶
+ try
+ RoundList.SaveRoundFile;
+ except
+ end;
+
+ // \83^\83X\83N\83g\83\8c\83C\82Ì\83A\83C\83R\83\93\8dí\8f\9c
+ if (FIconData.uID <> 0) then begin
+ Shell_NotifyIcon(NIM_DELETE, @FIconData);
+ end;
+
+end;
+
+procedure TGikoForm.FormDestroy(Sender: TObject);
+var
+ i : Integer;
+ tmpBool : Boolean;
+begin
+ //\88ê\8e\9e\93I\82É\92Ê\8fí\83X\83^\83C\83\8b\82É\96ß\82µ\82ÄCoolBar\82Ì\88Ê\92u\81A\83E\83B\83\93\83h\83E\82Ì\88Ê\92u\82ð\95Û\91¶
+ //\81¦\92\8d\88Ó\81FOnDestroy\82Å\8eg\82¤\82±\82Æ\82µ\82©\8dl\97¶\82³\82ê\82Ä\82¢\82È\82¢
+ // \91¼\82Å\82â\82é\82Æ\8dÄ\95`\89æ\82ª\94\90¶\82·\82é
+ if WindowState <> wsNormal then begin
+ WindowState := wsNormal;
+ try
+ SaveCoolBarSettings;
+ GikoSys.Setting.WriteWindowSettingFile;
+ except
+ end;
+ end;
+
+ // \83}\83E\83X\83W\83F\83X\83`\83\83\81[\8aJ\95ú
+ try
+ if GikoSys.Setting.GestureEnabled then begin
+ MouseGesture.OnGestureStart := nil;
+ MouseGesture.OnGestureMove := nil;
+ MouseGesture.OnGestureEnd := nil;
+ end;
+ MouseGesture.Clear;
+ MouseGesture.UnHook;
+ MouseGesture.Free;
+ except
+ end;
+
+ //\82¨\8bC\82É\93ü\82è\94j\8aü
+ try