亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? main.pas

?? ziptv為delphi控件
?? PAS
?? 第 1 頁 / 共 5 頁
字號:
            Begin
               If Not (htCentral In HeaderTypeState) Then
               Begin
                  WithFileSize := LocalZipHeader.zc.UnpackedSize;
                  WithFileDate := ztvConvertDate(LocalZipHeader.zc.FileDate);
               End
               Else
               Begin
                  WithFileSize := CentralZipHeader.zc.UnpackedSize;
                  WithFileDate := ztvConvertDate(CentralZipHeader.zc.FileDate);
               End;
            End;
         atZoo:
            Begin
               WithFileSize := ZooDirHeader.UnpackedSize;
               WithFileDate := ztvConvertDate(ZooDirHeader.FileDate);
            End;
      End;

   With frmOverwrite {unit3} Do
   Begin
      Edit1.Text := FileName;           //set the frmOverwrite.Edit1 control text
      Label8.Caption := FileName;
      Label9.Caption := IntToStr(ReplaceFileSize) + ' bytes, ' +
         DateTimeToStr(ReplaceFileDate);
      Label10.Caption := ExtractFilename(FileName);
      Label11.Caption := IntToStr(WithFileSize) + ' bytes, ' +
         DateTimeToStr(WithFileDate);
      FormResult := ShowModal();        //show the frmOverwrite form
      NewFileName := Edit1.Text;        //assign the NewFilename parameter
   End;

   Case FormResult Of
      mrNo: OverwriteMode := omSkip;
      mrYes: OverwriteMode := omOverwrite;
      mrCancel: TZipCommon(Sender).Cancel := True;
   End;

   TZipCommon(Sender).ConfirmOverwrites := Not frmOverwrite.CheckBox1.Checked;
End;
//-------------------------------------------------------------
(* OnBegin Event -
 All decompression components share this event.
  Triggered prior to extracting individual files. *)

Procedure TfrmMain.UnZIP1Begin(Sender: TObject; FName: String; Count: Integer; Var
   Extract: Boolean);
Begin
   StatusBar1.SimpleText := 'Extracting: ' +
      MinimizeName(FName, StatusBar1.Canvas, StatusBar1.Width);
   StatusBar1.Update();
End;
//-------------------------------------------------------------
(* OnEnd Event -
 All decompression components share this event
  Triggered after extracting individual files. *)

Procedure TfrmMain.UnZIP1End(Sender: TObject; FileName: String; CRC_PASS: Boolean);
Begin
   If Not CRC_PASS Then
      ZipTV1Error(Sender, FileName, '', '0', E_CRCERROR);
End;
//-------------------------------------------------------------
(* OnGetPassword event *)
(* All compression and decompression components share this event.
(* Triggered when an archive requires a password for encryption or
(* decryption.
(*
(* The default for the "PasswordAttempts property" is 3.  Using the default
(* for PasswordAttempts, this event will activate 3 times... giving the user
(* 3 guesses at a password before moving on to the next compressed file.
(*
(* This event is activated before a decompression component's OnBegin event. *)
(* If a valid password is not determined, the file will be bypassed as well  *)
(* as the OnBegin and OnEnd events.                                          *)
(*                                                                           *)
(* Default value for the TryAgain parameter = True                           *)

Procedure TfrmMain.UnZIP1GetPassword(Sender: TObject; FileName: String;
   Var Password: String; Var TryAgain: Boolean);
Begin

   (* InputQuery is a Delphi function *)
   If Not InputQuery(
      'Enter password...',
      LowerCase(ExtractFilename(FileName)), Password) Then
      TryAgain := False;

End;
//-------------------------------------------------------------
(* OnActivate event -
   -Shared by all compression components.
   -Triggered just prior adding, moving, deleting compressed files *)

Procedure TfrmMain.Zip1Activate(Sender: TObject);
Begin
   StatusBar1.SimplePanel := True;
   ProgressBar1.Position := 0;
   ProgressBar2.Position := 0;
   ProgressBar1.Visible := True;
   ProgressBar2.Visible := True;
   ApplicationBusy();
End;
//-------------------------------------------------------------
(* OnDeactivate event -
   -Shared by all compression components.
   -Triggered after all files matching the FileSpec property
    have been compressed. *)

Procedure TfrmMain.Zip1Deactivate(Sender: TObject);
Begin
   ApplicationWaiting();
   DisplayTotals(SELECTALL);
End;
//-------------------------------------------------------------
(* OnBegin event -
   Shared by all compression components on this form.
   Triggered just prior compressing individual files. *)

Procedure TfrmMain.Zip1Begin(Sender: TObject; FName: String; Count: Integer;
   Var Extract: Boolean);
Begin                                   (* CompBase is the parent class for all	*)
   (* compression components 						*)
   If TCompBASE(Sender).Switch <> swDelete Then
      StatusBar1.SimpleText := 'Compressing: ' +
         MinimizeName(FName, StatusBar1.Canvas, StatusBar1.Width)
   Else
      StatusBar1.SimpleText := 'Deleting: ' +
         MinimizeName(FName, StatusBar1.Canvas, StatusBar1.Width);
End;
//-------------------------------------------------------------
(* OnEnd event -
  Shared by all compression components.
   Triggered after compressing an individual file to an archive *)

Procedure TfrmMain.Zip1End(Sender: TObject; FN: String; CRC_PASS: Boolean);
Begin
   StatusBar1.SimpleText := '';
End;
//-------------------------------------------------------------
(* OnNonWriteableArchive event                                            *)
(*                                                                        *)
(* Shared by all compression components                                   *)
(*                                                                        *)
(* Triggered when ArchiveFile already exists and the files attribute      *)
(* is non-writeable (a file-attribute other than faNormal or faArchive).  *)
(*                                                                        *)
(* Parameter 'WriteToFile':                                               *)
(* 1. This parameter's default is false.  If not changed within this      *)
(*    event the active process is terminated.                             *)
(* 2. If this event is not assigned, the active process is terminated if  *)
(*    the existing file is determined to contain a non-writable attribute,*)
(*    this condition is routed through the OnError event.                 *)
(*                                                                        *)

Procedure TfrmMain.Zip1NonWriteableArchive(Sender: TObject;
   ArchiveFile: String; Var WriteToFile: Boolean);
Begin
   If MessageDlg(ArchiveFile + ' is ReadOnly, SysFile, or Hidden file...'#13#13 +
      'Write to this file?',
      mtConfirmation, [mbYes, mbNo], 0) = mrYes Then
      WriteToFile := True;
End;
//-------------------------------------------------------------
(* OnRecurseDir event -
  Shared by all compression components.
   Triggered when a directory has changed when directory recursion
   was chosen. *)

Procedure TfrmMain.Zip1RecurseDir(Sender: TObject; Directory: String);
Begin
   StatusBar1.SimpleText := 'Scanning dir: ' +
      MinimizeName(Directory, StatusBar1.Canvas, StatusBar1.Width);
End;
//-------------------------------------------------------------
(* OnRenameDupeFile event *)
(*                                                                       *)
(* Shared by most compression components (isn't available in single file *)
(* compression components).                                              *)
(*                                                                       *)
(* Activated when an matching file is found to already exist in the      *)
(* archive.  This file will match exactly the one existing in the        *)
(* archive (thus the "Dup" in OnRename"Dup"File).                        *)
(*                                                                       *)
(* IMPORTANT: Files matching only file-name, are processed through the   *)
(* OnReplaceFile event.  This allows the developer to compare file dates *)
(* to determine if an older file (than the existing one) is to be        *)
(* in the archive.                                                       *)
(*                                                                       *)
(* Used instead of the OnFileExists event in compressor components.  The *)
(* TZip component does include a OnFileExists event, but it's used for   *)
(* diskette spanning purposes only.                                      *)
(*                                                                       *)
(* This event is activated when attempting to add a file which already   *)
(* exists in the archive.  The OnReplaceFile is activated prior to this  *)
(* event.  If the OnReplaceFile event's "replace" parameter is true,     *)
(* this event will be bypassed.  The choice is to either replace or      *)
(* rename the existing file.                                             *)
(*                                                                       *)
(* FileName parameter:                                                   *)
(* 1. When this event is activated, this parameter contains the name of  *)
(*    of the file in que for compression, which contains a FileName that *)
(*    is found to already exist within the archive.                      *)
(*                                                                       *)
(* NewFileName parameter:                                                *)
(* 1. If the value is returned as a blank or the same value as the       *)
(*    "FileName parameter" the original FileName is assumed and          *)
(*    and compression of this file is bypassed since it already exists.  *)
(* 2. If the value is assigned a different FileName, but one that	also   *)
(*    exists in the archive, OnRenameDupeFile will repeatedly be called  *)
(*    until either the original FileName, a blank value, or a FileName   *)
(*    that doesn't already exist in the archive is returned.             *)
(* 3. If a unique value (a name other than the value of "FileName" is    *)
(*    returned, the file already existing in the archive is the one that *)
(*    is renamed.  The file currently in que for compression will retain *)
(*    the current name.                                                  *)
(*                                                                       *)

Procedure TfrmMain.Zip1RenameDupeFile(Sender: TObject; FileName: String;
   Var NewFileName: String; Var Rename: Boolean);
Begin
   Application.ProcessMessages;
   If InputQuery('OnRenameDupeFile event',
      'File exists... rename existing file as:',
      FileName) Then
      NewFileName := FileName
   Else
      Rename := False;
End;
//-------------------------------------------------------------
(* OnReplaceFile event *)
(* Shared by all compression components.                              *)
(* Triggered when an file was found to already exist in an archive.   *)
(*                                                                    *)
(* Prior to the activation of this event, a comparison is made to     *)
(* determine if the file in que for compression has changed from that *)
(* which already exists in the archive.  If the following comparisons *)
(* match, the file is determined to be unchanged and therefore        *)
(* removed from the que for compression:                              *)
(* 1. file attribute                                                  *)
(* 2. file size                                                       *)
(* 3. file date                                                       *)
(*                                                                    *)
(* "Replace" parameter:                                               *)
(* 1. The default is false.                                           *)
(*    If the value is not set to true within this event (or if this   *)
(*    event is not assigned, the file that exists in the archive      *)
(*    remains and the file in que (which has the same FileName) for   *)
(*    compression is bypassed.                                        *)
(* 2. If the value of this parameter is returned as true, the file    *)
(*    which already exists in the archive will be replaced by the     *)
(*    file in que for compression.                                    *)
(* 3. If the value of this parameter is returned as false, the        *)
(*    OnRenameExistingFile event will activate.  For more info on     *)
(*    event, see it's description & rules also in this demo.          *)
(*                                                                    *)

Procedure TfrmMain.Zip1ReplaceFile(Sender: TObject; FileName,
   NewFileName: String; Date, NewDate: TDateTime; FileSize,
   NewFileSize: Int64; Attr, NewAttr: Integer; Var Replace: Boolean);
Const
   CRL = #32#32#32;
Var
   Msg: AnsiString;
Begin

   (* In this demo, we use a simple dialog box.  It would be preferable to  *)
   (* display a form with additional reponse buttons which might include    *)
   (* 'Yes to all', 'No to all'.  See example in procedure UnZIP1FileExists *)
   (* in this demo.                                                         *)
   Msg :=
      'REPLACE:' + #13 +
      CRL + FileName + #13 +
      CRL + 'Size: ' + IntToStr(FileSize) + #13 +
      CRL + 'Date: ' + FormatDateTime('mm/dd/yy hh:mm am/pm', Date) + #13 +
      CRL + 'Attr: ' + TZipCommon(Sender).FileAttrToString(Attr, Byte('_')) +
      '  (' + IntToStr(Attr) + ')' + #13#13 +

   'WITH:' + #13 +
      CRL + NewFileName + #13 +
      CRL + 'Size: ' + IntToStr(NewFileSize) + #13 +
      CRL + 'Date: ' + FormatDateTime('mm/dd/yy hh:mm am/pm', NewDate) + #13 +
      CRL + 'Attr: ' + TZipCommon(Sender).FileAttrToString(NewAttr, Byte('_')) +
      '  (' + IntToStr(NewAttr) + ')';

   If MessageDlg(Msg, mtConfirmation, [mbYes, mbNo], 0) = mrYes Then
      Replace := True;

End;
//-------------------------------------------------------------
(* OnNextVolume event -
  Shared by TZipTV, TUnZip, TUnArj, TUnCab, TUnRar, and TUUDecode
   components.

   Triggered with each new volume, even if the volume was
   found to exist on the current disk and path.  Continous,
   uninterrupted processing can be achieved by checking the
   FExists (Boolean) parameter. *)

Procedure TfrmMain.ZipTV1NextVolume(Sender: TObject; Var VolumeName: String;
   VolumeID: Integer; FExists: Boolean; Var Cancel: Boolean);
Var
   NewFile, Prompt, Caption: String;
Begin
	Cancel := False;

   If Not FExists Then                  (* FExists = FileExists *)
   Begin
      Caption := ExtractFilename(VolumeName);
      Prompt := 'Volume ID: ' + IntToStr(VolumeID);
      NewFile := VolumeName;

      If Not InputQuery(Caption, Prompt, NewFile) Then
         Cancel := True
      Else
         VolumeName := NewFile;
   End;
End;
//-------------------------------------------------------------
(* OnActivate event - ZipTV1 *)

Procedure TfrmMain.ZipTV1Activate(Sender: TObject);
Var
   CmntStrm: TStream;
   frmComment: TfrmComment;
Begin
   // if archive contains a comment, display it
   With ZipTV1 Do
      Case ArcType Of

         atJar..atJarExe,
            atZip..atZipMV:

            Begin
               If (htEnding In HeaderTypeState) And
                  (EndZipHeader.CommentLen > 0) And
                  (ArchiveCommentPos > 0) And
                  (ArchiveCommentPos < FLOF) Then
               Begin
                  CmntStrm := TMemoryStream.Create();
                  Try
                     ZipTV1.inStream.Position := ArchiveCommentPos;

                     // convert a ZipTV TStream32 to Delphi compatible TStream,
                     // for use with Memo1.Lines.LoadFromStream
                     ztvStreams.ztvStreamToTStream(inStream, CmntStrm, inStream.Size -
                        ArchiveCommentPos);

                     frmComment := TfrmComment.Create(Self) {unit9};
                     Try
                        frmComment.Memo1.Lines.LoadFromStream(CmntStrm);
                        frmComment.ShowModal();
                        frmComment.Memo1.Lines.Clear();
                     Finally
         

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99久久精品久久久久久清纯| 26uuu国产电影一区二区| 日韩免费一区二区三区在线播放| 亚洲欧洲日韩综合一区二区| 美腿丝袜一区二区三区| 成人av高清在线| 欧美白人最猛性xxxxx69交| 亚洲一区二区三区三| 国产成人综合在线| 日韩欧美在线综合网| 亚洲一区视频在线| 不卡一区二区中文字幕| 久久久精品中文字幕麻豆发布| 亚洲aaa精品| 欧美视频第二页| 亚洲女同女同女同女同女同69| 国产激情一区二区三区| 精品久久久久久亚洲综合网| 免费观看成人av| 欧美嫩在线观看| 亚洲动漫第一页| 一本久久综合亚洲鲁鲁五月天| 国产精品久久久爽爽爽麻豆色哟哟 | 日本中文字幕一区二区视频| 欧美性做爰猛烈叫床潮| 亚洲精品欧美二区三区中文字幕| 粉嫩aⅴ一区二区三区四区| 国产日韩欧美制服另类| 国产精品一区久久久久| 久久久久久久久久美女| 国产精品18久久久久久vr| 2021国产精品久久精品| 国产高清亚洲一区| 欧美国产精品一区二区| va亚洲va日韩不卡在线观看| 中文字幕亚洲区| 在线观看91视频| 日韩精品欧美精品| 欧美岛国在线观看| 国产中文一区二区三区| 国产欧美日韩另类一区| 白白色亚洲国产精品| 亚洲男人都懂的| 欧美男人的天堂一二区| 亚洲高清免费视频| 日本在线不卡视频| 精品久久五月天| 国产黄色精品网站| 亚洲人成伊人成综合网小说| 欧美三片在线视频观看| 久久国产精品第一页| 国产精品视频你懂的| 色视频一区二区| 日本视频免费一区| 欧美国产综合一区二区| 在线观看视频91| 久久国产精品露脸对白| 中日韩av电影| 欧美肥大bbwbbw高潮| 国产精品亚洲一区二区三区妖精| **网站欧美大片在线观看| 欧美情侣在线播放| 国产1区2区3区精品美女| 亚洲影院免费观看| 精品国产伦一区二区三区观看体验 | 国产精品中文有码| 中文字幕一区二区三中文字幕 | 91免费观看在线| 日韩av一区二区三区| 国产精品丝袜91| 欧美一卡2卡三卡4卡5免费| 粉嫩嫩av羞羞动漫久久久| 午夜欧美一区二区三区在线播放| 国产亚洲欧美色| 欧美日韩久久不卡| 成人av影院在线| 极品少妇xxxx精品少妇| 亚洲激情一二三区| 亚洲国产成人在线| 日韩情涩欧美日韩视频| 欧美丝袜自拍制服另类| 岛国精品在线观看| 免费成人在线观看视频| 一区二区三区中文字幕| 中文字幕精品综合| 欧美不卡视频一区| 666欧美在线视频| 日本韩国一区二区三区| 成人国产精品免费观看动漫| 激情国产一区二区| 三级精品在线观看| 亚洲国产精品人人做人人爽| 国产精品―色哟哟| 久久精品一区二区三区不卡 | 欧美绝品在线观看成人午夜影视| 粉嫩绯色av一区二区在线观看 | 国产人妖乱国产精品人妖| 欧美一级爆毛片| 91精品国产色综合久久不卡电影| 精品婷婷伊人一区三区三| 91在线视频播放地址| 国产mv日韩mv欧美| 在线欧美一区二区| 91免费看片在线观看| 一本大道av一区二区在线播放| 国产成人高清在线| 懂色一区二区三区免费观看| 国产成人aaaa| 粉嫩久久99精品久久久久久夜| 国产高清在线精品| 国产不卡在线播放| 成人av网站在线| 91网页版在线| 欧美午夜一区二区三区| 91传媒视频在线播放| 91福利国产精品| 欧美日韩免费一区二区三区| 欧美日韩在线播| 这里只有精品免费| 欧美成人福利视频| 久久精品欧美一区二区三区不卡 | 欧美va亚洲va国产综合| 精品成人一区二区三区四区| 久久蜜臀精品av| 中文字幕av一区二区三区高| 国产精品国产自产拍在线| 综合久久国产九一剧情麻豆| 亚洲资源中文字幕| 日本欧美在线看| 国产丶欧美丶日本不卡视频| 国产69精品一区二区亚洲孕妇| 99精品欧美一区二区三区综合在线| 91麻豆国产自产在线观看| 欧美日韩一区二区在线视频| 日韩视频永久免费| 国产肉丝袜一区二区| 亚洲男人电影天堂| 麻豆国产精品官网| 成人avav影音| 欧美精品色综合| 国产亚洲精品超碰| 一区二区三区四区在线| 免费观看在线色综合| 成人一级片在线观看| 欧美三级欧美一级| 国产日韩欧美在线一区| 亚洲一区二区三区自拍| 激情综合网激情| 欧美伊人久久久久久久久影院| 欧美r级在线观看| 亚洲激情在线播放| 国产主播一区二区| 精品视频在线免费观看| 国产日韩欧美精品在线| 日韩精品视频网站| 99精品欧美一区二区蜜桃免费| 日韩欧美亚洲一区二区| 亚洲精品成人在线| 国产精品综合久久| 91精品国产高清一区二区三区| 日本一区二区三区国色天香 | 91久久国产综合久久| 精品久久久久久久久久久久久久久 | 26uuu色噜噜精品一区二区| 亚洲精选一二三| 国产精品一二一区| 欧美一级久久久久久久大片| 国产精品乱码一区二区三区软件| 免费美女久久99| 欧美日韩一区二区在线观看 | 国产精品视频一二| 老鸭窝一区二区久久精品| 在线精品视频免费播放| 国产精品欧美一区二区三区| 精品一区二区三区在线播放| 欧美日韩电影在线| 亚洲一区二区三区四区中文字幕| 成人看片黄a免费看在线| 精品区一区二区| 日本色综合中文字幕| 欧美日韩中文另类| 怡红院av一区二区三区| 91亚洲男人天堂| 国产精品麻豆一区二区| 国产成人av一区二区三区在线 | 欧美麻豆精品久久久久久| 最新欧美精品一区二区三区| 国产69精品久久久久毛片| 久久精品一区二区三区不卡牛牛| 麻豆国产欧美一区二区三区| 日韩一区二区三区四区 | 午夜久久久久久久久| 色婷婷精品大视频在线蜜桃视频| 国产精品丝袜一区| 成人在线综合网| 国产精品理论片| 不卡电影一区二区三区| 国产精品久久久久aaaa樱花| 91在线免费看| 亚洲午夜激情网页|