2018年2月27日 星期二

#define MainH

//---------------------------------------------------------------------------
#ifndef MainH
#define MainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Menus.hpp>
#include <ImgList.hpp>
#include <ComCtrls.hpp>
#include <ToolWin.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <Dialogs.hpp>
#include <Grids.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
    TOpenDialog *OpenDialog;
    TMainMenu *MainMenu1;
    TMenuItem *File1;
    TMenuItem *FileOpen;
    void __fastcall FileOpenClick(TObject *Sender);
       
private: // User declarations
public:  // User declarations
    __fastcall TForm1(TComponent* Owner);
   
    //read data file
    BYTE        DataBuf[256];
    AnsiString  sFileName;          
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

沒有留言:

張貼留言

老達官一聽

 老達官一聽