f_main.h
上传用户:tongfa
上传日期:2007-01-06
资源大小:1071k
文件大小:1k
源码类别:

图片显示

开发平台:

WINDOWS

  1. //---------------------------------------------------------------------------
  2. #ifndef f_mainH
  3. #define f_mainH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <Dialogs.hpp>
  10. #include <ExtCtrls.hpp>
  11. //---------------------------------------------------------------------------
  12. class TForm1 : public TForm
  13. {
  14. __published: // IDE-managed Components
  15. TButton *Button1;
  16. TPaintBox *PaintBox1;
  17. TOpenDialog *OpenDialog1;
  18. void __fastcall Button1Click(TObject *Sender);
  19. private:
  20.     void ReadJPEGBitmap(const char * file_name, Graphics::TBitmap *bitmap); // User declarations
  21. public: // User declarations
  22. __fastcall TForm1(TComponent* Owner);
  23. };
  24. //---------------------------------------------------------------------------
  25. extern PACKAGE TForm1 *Form1;
  26. //---------------------------------------------------------------------------
  27. #endif