FileMunit.pas
上传用户:gdszzsp
上传日期:2007-01-08
资源大小:621k
文件大小:114k
- unit FileMunit;
- interface
- uses
- Windows, Messages, SysUtils, Classes, Graphics,
- Controls, Forms, Dialogs, StdCtrls;
- type
- TfileM=class(TForm)
- CaptionLabel: TLabel;
- path: TLabel;
- OutlookBtn1: TOutlookBtn;
- OutlookBtn2: TOutlookBtn;
- OutlookBtn3: TOutlookBtn;
- OutlookBtn4: TOutlookBtn;
- OutlookBtn5: TOutlookBtn;
- OutlookBtn6: TOutlookBtn;
- OutlookBtn7: TOutlookBtn;
- OutlookBtn8: TOutlookBtn;
- OutlookBtn9: TOutlookBtn;
- OutlookBtn10: TOutlookBtn;
- OutlookBtn11: TOutlookBtn;
- OutlookBtn12: TOutlookBtn;
- OutlookBtn13: TOutlookBtn;
- stat: TLabel;
- OutlookBtn14: TOutlookBtn;
- OutlookBtn15: TOutlookBtn;
- OutlookBtn16: TOutlookBtn;
- bbutton: TFlatSpeedButton;
- CloseButton: TFlatSpeedButton;
- fisiere: TListBox;
- OpenUpFile: TOpenDialog;
- procedure bbuttonClick(Sender: TObject);
- procedure bbuttonMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
- procedure CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
- procedure CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
- procedure CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
- procedure CloseButtonClick(Sender: TObject);
- procedure fisiereDblClick(Sender: TObject);
- procedure FormCreate(Sender: TObject);
- procedure FormPaint(Sender: TObject);
- procedure FormResize(Sender: TObject);
- procedure OutlookBtn10Click(Sender: TObject);
- procedure OutlookBtn11Click(Sender: TObject);
- procedure OutlookBtn12Click(Sender: TObject);
- procedure OutlookBtn13Click(Sender: TObject);
- procedure OutlookBtn14Click(Sender: TObject);
- procedure OutlookBtn15Click(Sender: TObject);
- procedure OutlookBtn16Click(Sender: TObject);
- procedure OutlookBtn1Click(Sender: TObject);
- procedure OutlookBtn2Click(Sender: TObject);
- procedure OutlookBtn3Click(Sender: TObject);
- procedure OutlookBtn4Click(Sender: TObject);
- procedure OutlookBtn5Click(Sender: TObject);
- procedure OutlookBtn6Click(Sender: TObject);
- procedure OutlookBtn7Click(Sender: TObject);
- procedure OutlookBtn8Click(Sender: TObject);
- procedure OutlookBtn9Click(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end ;
- var
- fileM: TfileM;
- {This file is generated by DeDe v2.34 (c) 1999 by DaFixer}
- implementation
- {$R *.DFM}
- procedure TfileM.bbuttonClick(Sender: TObject);
- begin
- {
- 004D4280 8B1518485400 mov edx, [$544818]
- 004D4286 8B12 mov edx, [edx]
- 004D4288 A13C495400 mov eax, dword ptr [$54493C]
- 004D428D 8B00 mov eax, [eax]
- 004D428F E8A861FFFF call 004CA43C
- 004D4294 C3 ret
- }
- end ;
- procedure TfileM.bbuttonMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
- begin
- {
- 004D4298 55 push ebp
- 004D4299 8BEC mov ebp, esp
- 004D429B 6A00 push $00
- 004D429D 53 push ebx
- 004D429E 8BD8 mov ebx, eax
- 004D42A0 33C0 xor eax, eax
- 004D42A2 55 push ebp
- 004D42A3 68F2424D00 push $004D42F2
- ***** TRY
- |
- 004D42A8 64FF30 push dword ptr fs:[eax]
- 004D42AB 648920 mov fs:[eax], esp
- 004D42AE 80F901 cmp cl, $01
- 004D42B1 7529 jnz 004D42DC
- 004D42B3 8D55FC lea edx, [ebp-$04]
- 004D42B6 8B83CC020000 mov eax, [ebx+$02CC]
- 004D42BC E82F24F6FF call 004366F0
- 004D42C1 8B55FC mov edx, [ebp-$04]
- 004D42C4 A118485400 mov eax, dword ptr [$544818]
- 004D42C9 8B00 mov eax, [eax]
- 004D42CB 8B80CC020000 mov eax, [eax+$02CC]
- 004D42D1 8B80EC010000 mov eax, [eax+$01EC]
- 004D42D7 8B08 mov ecx, [eax]
- 004D42D9 FF5134 call dword ptr [ecx+$34]
- 004D42DC 33C0 xor eax, eax
- 004D42DE 5A pop edx
- 004D42DF 59 pop ecx
- 004D42E0 59 pop ecx
- 004D42E1 648910 mov fs:[eax], edx
- ****** FINALLY
- |
- 004D42E4 68F9424D00 push $004D42F9
- 004D42E9 8D45FC lea eax, [ebp-$04]
- 004D42EC E86BF9F2FF call 00403C5C
- 004D42F1 C3 ret
- 004D42F2 E969F3F2FF jmp 00403660
- 004D42F7 EBF0 jmp 004D42E9
- ****** END
- |
- 004D42F9 5B pop ebx
- 004D42FA 59 pop ecx
- 004D42FB 5D pop ebp
- 004D42FC C20C ret $0C
- }
- end ;
- procedure TfileM.CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
- begin
- {
- 004D24C0 55 push ebp
- 004D24C1 8BEC mov ebp, esp
- 004D24C3 53 push ebx
- 004D24C4 8BD8 mov ebx, eax
- 004D24C6 8B83C4020000 mov eax, [ebx+$02C4]
- 004D24CC 8B4024 mov eax, [eax+$24]
- 004D24CF E808A0F6FF call 0043C4DC
- 004D24D4 50 push eax
- * Reference to: SHBrowseForFolderA.SetCapture
- |
- 004D24D5 E89E53F3FF call 00407878
- 004D24DA C78328030000FFFFFFFF mov dword ptr [ebx+$0328], $FFFFFFFF
- 004D24E4 8B450C mov eax, [ebp+$0C]
- 004D24E7 898320030000 mov [ebx+$0320], eax
- 004D24ED 8B4508 mov eax, [ebp+$08]
- 004D24F0 898324030000 mov [ebx+$0324], eax
- 004D24F6 5B pop ebx
- 004D24F7 5D pop ebp
- 004D24F8 C20C ret $0C
- }
- end ;
- procedure TfileM.CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
- begin
- {
- 004D24FC 55 push ebp
- 004D24FD 8BEC mov ebp, esp
- 004D24FF 53 push ebx
- 004D2500 56 push esi
- 004D2501 8BD8 mov ebx, eax
- 004D2503 83BB2803000000 cmp dword ptr [ebx+$0328], +$00
- 004D250A 7433 jz 004D253F
- 004D250C 8B83C4020000 mov eax, [ebx+$02C4]
- 004D2512 8B7024 mov esi, [eax+$24]
- 004D2515 8B8320030000 mov eax, [ebx+$0320]
- 004D251B 2B450C sub eax, dword ptr [ebp+$0C]
- 004D251E 8B5630 mov edx, [esi+$30]
- 004D2521 2BD0 sub edx, eax
- 004D2523 8BC6 mov eax, esi
- 004D2525 E88239F6FF call 00435EAC
- 004D252A 8B8324030000 mov eax, [ebx+$0324]
- 004D2530 2B4508 sub eax, dword ptr [ebp+$08]
- 004D2533 8B5634 mov edx, [esi+$34]
- 004D2536 2BD0 sub edx, eax
- 004D2538 8BC6 mov eax, esi
- 004D253A E89139F6FF call 00435ED0
- 004D253F 5E pop esi
- 004D2540 5B pop ebx
- 004D2541 5D pop ebp
- 004D2542 C208 ret $08
- }
- end ;
- procedure TfileM.CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
- begin
- {
- 004D2548 55 push ebp
- 004D2549 8BEC mov ebp, esp
- 004D254B 53 push ebx
- 004D254C 56 push esi
- 004D254D 8BD8 mov ebx, eax
- 004D254F 83BB2803000000 cmp dword ptr [ebx+$0328], +$00
- 004D2556 7440 jz 004D2598
- 004D2558 8B83C4020000 mov eax, [ebx+$02C4]
- 004D255E 8B7024 mov esi, [eax+$24]
- * Reference to: SHBrowseForFolderA.ReleaseCapture
- |
- 004D2561 E8C252F3FF call 00407828
- 004D2566 33C0 xor eax, eax
- 004D2568 898328030000 mov [ebx+$0328], eax
- 004D256E 8B8320030000 mov eax, [ebx+$0320]
- 004D2574 2B450C sub eax, dword ptr [ebp+$0C]
- 004D2577 8B5630 mov edx, [esi+$30]
- 004D257A 2BD0 sub edx, eax
- 004D257C 8BC6 mov eax, esi
- 004D257E E82939F6FF call 00435EAC
- 004D2583 8B8324030000 mov eax, [ebx+$0324]
- 004D2589 2B4508 sub eax, dword ptr [ebp+$08]
- 004D258C 8B5634 mov edx, [esi+$34]
- 004D258F 2BD0 sub edx, eax
- 004D2591 8BC6 mov eax, esi
- 004D2593 E83839F6FF call 00435ED0
- 004D2598 5E pop esi
- 004D2599 5B pop ebx
- 004D259A 5D pop ebp
- 004D259B C20C ret $0C
- }
- end ;
- procedure TfileM.CloseButtonClick(Sender: TObject);
- begin
- {
- 004D24B8 E8BFD5F7FF call 0044FA7C
- 004D24BD C3 ret
- }
- end ;
- procedure TfileM.fisiereDblClick(Sender: TObject);
- begin
- {
- 004D2708 55 push ebp
- 004D2709 8BEC mov ebp, esp
- 004D270B 33C9 xor ecx, ecx
- 004D270D 51 push ecx
- 004D270E 51 push ecx
- 004D270F 51 push ecx
- 004D2710 51 push ecx
- 004D2711 53 push ebx
- 004D2712 56 push esi
- 004D2713 57 push edi
- 004D2714 8BD8 mov ebx, eax
- 004D2716 33C0 xor eax, eax
- 004D2718 55 push ebp
- 004D2719 6850284D00 push $004D2850
- ***** TRY
- |
- 004D271E 64FF30 push dword ptr fs:[eax]
- 004D2721 648920 mov fs:[eax], esp
- 004D2724 8D55F4 lea edx, [ebp-$0C]
- 004D2727 8B83CC020000 mov eax, [ebx+$02CC]
- 004D272D E8BE3FF6FF call 004366F0
- 004D2732 8BB3C8020000 mov esi, [ebx+$02C8]
- 004D2738 8BC6 mov eax, esi
- 004D273A E831DAF5FF call 00430170
- 004D273F 8BD0 mov edx, eax
- 004D2741 8D4DFC lea ecx, [ebp-$04]
- 004D2744 8B86EC010000 mov eax, [esi+$01EC]
- 004D274A 8B30 mov esi, [eax]
- 004D274C FF560C call dword ptr [esi+$0C]
- 004D274F 8D45F0 lea eax, [ebp-$10]
- 004D2752 50 push eax
- 004D2753 B901000000 mov ecx, $00000001
- 004D2758 BA01000000 mov edx, $00000001
- 004D275D 8B45FC mov eax, [ebp-$04]
- 004D2760 E87719F3FF call 004040DC
- 004D2765 8B45F0 mov eax, [ebp-$10]
- 004D2768 BA68284D00 mov edx, $004D2868
- 004D276D E87618F3FF call 00403FE8
- 004D2772 0F85BD000000 jnz 004D2835
- 004D2778 8B83C8020000 mov eax, [ebx+$02C8]
- 004D277E 8B80EC010000 mov eax, [eax+$01EC]
- 004D2784 8B10 mov edx, [eax]
- 004D2786 FF5240 call dword ptr [edx+$40]
- 004D2789 8D45F8 lea eax, [ebp-$08]
- 004D278C 50 push eax
- 004D278D 8B45FC mov eax, [ebp-$04]
- 004D2790 E84317F3FF call 00403ED8
- 004D2795 8BC8 mov ecx, eax
- 004D2797 83E902 sub ecx, +$02
- 004D279A BA02000000 mov edx, $00000002
- 004D279F 8B45FC mov eax, [ebp-$04]
- 004D27A2 E83519F3FF call 004040DC
- 004D27A7 8B45F8 mov eax, [ebp-$08]
- * Possible String Reference to: ".."
- |
- 004D27AA BA74284D00 mov edx, $004D2874
- 004D27AF E83418F3FF call 00403FE8
- 004D27B4 741A jz 004D27D0
- 004D27B6 FF75F4 push dword ptr [ebp-$0C]
- 004D27B9 6880284D00 push $004D2880
- 004D27BE FF75F8 push dword ptr [ebp-$08]
- 004D27C1 8D45F4 lea eax, [ebp-$0C]
- 004D27C4 BA03000000 mov edx, $00000003
- 004D27C9 E8CA17F3FF call 00403F98
- 004D27CE EB50 jmp 004D2820
- 004D27D0 33FF xor edi, edi
- 004D27D2 8B45F4 mov eax, [ebp-$0C]
- 004D27D5 E8FE16F3FF call 00403ED8
- 004D27DA 8BF0 mov esi, eax
- 004D27DC 83FE01 cmp esi, +$01
- 004D27DF 7C2B jl 004D280C
- 004D27E1 8D45F0 lea eax, [ebp-$10]
- 004D27E4 50 push eax
- 004D27E5 B901000000 mov ecx, $00000001
- 004D27EA 8BD6 mov edx, esi
- 004D27EC 8B45F4 mov eax, [ebp-$0C]
- 004D27EF E8E818F3FF call 004040DC
- 004D27F4 8B45F0 mov eax, [ebp-$10]
- 004D27F7 BA80284D00 mov edx, $004D2880
- 004D27FC E8E717F3FF call 00403FE8
- 004D2801 7504 jnz 004D2807
- 004D2803 8BFE mov edi, esi
- 004D2805 EB05 jmp 004D280C
- 004D2807 4E dec esi
- 004D2808 85F6 test esi, esi
- 004D280A 75D5 jnz 004D27E1
- 004D280C 8D45F4 lea eax, [ebp-$0C]
- 004D280F 50 push eax
- 004D2810 8BCF mov ecx, edi
- 004D2812 49 dec ecx
- 004D2813 BA01000000 mov edx, $00000001
- 004D2818 8B45F4 mov eax, [ebp-$0C]
- 004D281B E8BC18F3FF call 004040DC
- 004D2820 8B55F4 mov edx, [ebp-$0C]
- 004D2823 8B83CC020000 mov eax, [ebx+$02CC]
- 004D2829 E8F23EF6FF call 00436720
- 004D282E 8BC3 mov eax, ebx
- 004D2830 E86BFDFFFF call 004D25A0
- 004D2835 33C0 xor eax, eax
- 004D2837 5A pop edx
- 004D2838 59 pop ecx
- 004D2839 59 pop ecx
- 004D283A 648910 mov fs:[eax], edx
- ****** FINALLY
- |
- * Possible String Reference to: "_^[嬪]