ShowImgUnit.pas
上传用户:gdszzsp
上传日期:2007-01-08
资源大小:621k
文件大小:6k
源码类别:

远程控制编程

开发平台:

Delphi

  1. unit ShowImgUnit;
  2. interface
  3. uses
  4.   Windows, Messages, SysUtils, Classes, Graphics,
  5.   Controls, Forms, Dialogs, ExtCtrls;
  6. type
  7.   TShowImg=class(TForm)
  8.     myShape: TShape;
  9.     Image1: TImage;
  10.     CloseButton: TFlatSpeedButton;
  11.     SaveButton: TFlatSpeedButton;
  12.     SaveDialog1: TSaveDialog;
  13.     procedure CloseButtonClick(Sender: TObject);
  14.     procedure FormCreate(Sender: TObject);
  15.     procedure FormHide(Sender: TObject);
  16.     procedure Image1DblClick(Sender: TObject);
  17.     procedure SaveButtonClick(Sender: TObject);
  18.   private
  19.     { Private declarations }
  20.   public
  21.     { Public declarations }
  22.   end ;
  23. var
  24.   ShowImg: TShowImg;
  25. {This file is generated by DeDe v2.34 (c) 1999 by DaFixer}
  26. implementation
  27. {$R *.DFM}
  28. procedure TShowImg.CloseButtonClick(Sender: TObject);
  29. begin
  30. {
  31. 004DD5A4   E8D324F7FF             call    0044FA7C
  32. 004DD5A9   C3                     ret
  33. }
  34.  end ; 
  35. procedure TShowImg.FormCreate(Sender: TObject);
  36. begin
  37. {
  38. 004DD59C   E8AFFEFFFF             call    004DD450
  39. 004DD5A1   C3                     ret
  40. }
  41.  end ; 
  42. procedure TShowImg.FormHide(Sender: TObject);
  43. begin
  44. {
  45. 004DDA34   53                     push    ebx
  46. 004DDA35   8BD8                   mov     ebx, eax
  47. 004DDA37   33D2                   xor     edx, edx
  48. 004DDA39   8BC3                   mov     eax, ebx
  49. 004DDA3B   E8BCF8F6FF             call    0044D2FC
  50. 004DDA40   B201                   mov     dl, $01
  51. 004DDA42   8B83CC020000           mov     eax, [ebx+$02CC]
  52. 004DDA48   E8938BF5FF             call    004365E0
  53. 004DDA4D   B201                   mov     dl, $01
  54. 004DDA4F   8B83C8020000           mov     eax, [ebx+$02C8]
  55. 004DDA55   E8868BF5FF             call    004365E0
  56. 004DDA5A   33D2                   xor     edx, edx
  57. 004DDA5C   8B83F0010000           mov     eax, [ebx+$01F0]
  58. 004DDA62   E851D7F6FF             call    0044B1B8
  59. 004DDA67   33D2                   xor     edx, edx
  60. 004DDA69   8B83EC010000           mov     eax, [ebx+$01EC]
  61. 004DDA6F   E844D7F6FF             call    0044B1B8
  62. 004DDA74   5B                     pop     ebx
  63. 004DDA75   C3                     ret
  64. }
  65.  end ; 
  66. procedure TShowImg.Image1DblClick(Sender: TObject);
  67. begin
  68. {
  69. 004DDA2C   E84B20F7FF             call    0044FA7C
  70. 004DDA31   C3                     ret
  71. }
  72.  end ; 
  73. procedure TShowImg.SaveButtonClick(Sender: TObject);
  74. begin
  75. {
  76. 004DD5AC   55                     push    ebp
  77. 004DD5AD   8BEC                   mov     ebp, esp
  78. 004DD5AF   6A00                   push    $00
  79. 004DD5B1   6A00                   push    $00
  80. 004DD5B3   53                     push    ebx
  81. 004DD5B4   56                     push    esi
  82. 004DD5B5   8BF0                   mov     esi, eax
  83. 004DD5B7   33C0                   xor     eax, eax
  84. 004DD5B9   55                     push    ebp
  85. 004DD5BA   6856D64D00             push    $004DD656
  86. ***** TRY
  87. |
  88. 004DD5BF   64FF30                 push    dword ptr fs:[eax]
  89. 004DD5C2   648920                 mov     fs:[eax], esp
  90. 004DD5C5   8B86D0020000           mov     eax, [esi+$02D0]
  91. 004DD5CB   8B10                   mov     edx, [eax]
  92. 004DD5CD   FF523C                 call    dword ptr [edx+$3C]
  93. 004DD5D0   84C0                   test    al, al
  94. 004DD5D2   7464                   jz      004DD638
  95. 004DD5D4   B201                   mov     dl, $01
  96. 004DD5D6   A174484800             mov     eax, dword ptr [$484874]
  97. 004DD5DB   E84475FAFF             call    00484B24
  98. 004DD5E0   8BD8                   mov     ebx, eax
  99. 004DD5E2   8D55FC                 lea     edx, [ebp-$04]
  100. 004DD5E5   A1DC495400             mov     eax, dword ptr [$5449DC]
  101. 004DD5EA   8B00                   mov     eax, [eax]
  102. 004DD5EC   E82BFC0300             call    0051D21C
  103. 004DD5F1   8D45FC                 lea     eax, [ebp-$04]
  104. * Possible String Reference to: "desktop.jpg"
  105. |
  106. 004DD5F4   BA6CD64D00             mov     edx, $004DD66C
  107. 004DD5F9   E8E268F2FF             call    00403EE0
  108. 004DD5FE   8B55FC                 mov     edx, [ebp-$04]
  109. 004DD601   8BC3                   mov     eax, ebx
  110. 004DD603   8B08                   mov     ecx, [eax]
  111. 004DD605   FF5148                 call    dword ptr [ecx+$48]
  112. 004DD608   8D55F8                 lea     edx, [ebp-$08]
  113. 004DD60B   8B86D0020000           mov     eax, [esi+$02D0]
  114. 004DD611   E85AA9F7FF             call    00457F70
  115. 004DD616   8B55F8                 mov     edx, [ebp-$08]
  116. 004DD619   8BC3                   mov     eax, ebx
  117. 004DD61B   8B08                   mov     ecx, [eax]
  118. 004DD61D   FF514C                 call    dword ptr [ecx+$4C]
  119. 004DD620   A1DC495400             mov     eax, dword ptr [$5449DC]
  120. 004DD625   8B00                   mov     eax, [eax]
  121. * Possible String Reference to: "image saved."
  122. |
  123. 004DD627   BA80D64D00             mov     edx, $004DD680
  124. 004DD62C   E813F20300             call    0051C844
  125. 004DD631   8BC3                   mov     eax, ebx
  126. 004DD633   E87C59F2FF             call    00402FB4
  127. 004DD638   33C0                   xor     eax, eax
  128. 004DD63A   5A                     pop     edx
  129. 004DD63B   59                     pop     ecx
  130. 004DD63C   59                     pop     ecx
  131. 004DD63D   648910                 mov     fs:[eax], edx
  132. ****** FINALLY
  133. |
  134. * Possible String Reference to: "^[YY]