ChildWin.h
上传用户:may_ontech
上传日期:2007-01-08
资源大小:308k
文件大小:1k
源码类别:

图形图象

开发平台:

C++ Builder

  1. //----------------------------------------------------------------------------
  2. #ifndef ChildWinH
  3. #define ChildWinH
  4. //----------------------------------------------------------------------------
  5. #include <vclControls.hpp>
  6. #include <vclForms.hpp>
  7. #include <vclGraphics.hpp>
  8. #include <vclClasses.hpp>
  9. #include <vclWindows.hpp>
  10. #include <vclSystem.hpp>
  11. #include <StdCtrls.hpp>
  12. #include <ExtCtrls.hpp>
  13. #include "RecvStream.h"
  14. #include <ComCtrls.hpp>
  15. #include <Menus.hpp>
  16. //----------------------------------------------------------------------------
  17. class TMDIChild : public TForm
  18. {
  19. __published:
  20.         TImage *Image1;
  21.         TStatusBar *StatusBar1;
  22.         TPopupMenu *PopupMenu1;
  23.         TMenuItem *N1;
  24.         TMenuItem *N2;
  25.         TMenuItem *N3;
  26.         TMenuItem *N4;
  27. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  28.         void __fastcall Image1DblClick(TObject *Sender);
  29.         void __fastcall FormShow(TObject *Sender);
  30.         void __fastcall N3Click(TObject *Sender);
  31.         void __fastcall N2Click(TObject *Sender);
  32. private:
  33. public:
  34. virtual __fastcall TMDIChild(TComponent *Owner);
  35.         bool __fastcall LoadImage(void);  // 载入图象
  36.         AnsiString RemoteAddress;  // 远程主机IP
  37.         int CL, CQ;  // 色深和图象品质
  38. };
  39. //----------------------------------------------------------------------------
  40. #endif