//--------------------------------------------------------------------------- #ifndef Unit1H #define Unit1H //--------------------------------------------------------------------------- #include #include #include //クリップボードを使うために必要 #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE 管理のコンポーネント TTimer *Timer1; TButton *Button1; TButton *Button2; TLabel *Label4; TLabel *Label1; TLabel *Label2; TSavePictureDialog *SavePictureDialog1; TButton *Button3; TImage *Image1; TMainMenu *MainMenu1; TMenuItem *File1; TMenuItem *Open1; TMenuItem *SaveAs1; TMenuItem *Exit1; TMenuItem *N2; TOpenDialog *OpenDialog1; TMenuItem *Edit1; TMenuItem *N3; TPrintDialog *PrintDialog1; void __fastcall Button1Click(TObject *Sender); void __fastcall FormCreate(TObject *Sender); void __fastcall Timer1Timer(TObject *Sender); void __fastcall Button2Click(TObject *Sender); void __fastcall Button3Click(TObject *Sender); void __fastcall Exit1Click(TObject *Sender); void __fastcall SaveAs1Click(TObject *Sender); void __fastcall Open1Click(TObject *Sender); void __fastcall N3Click(TObject *Sender); private: // ユーザー宣言 public: // ユーザー宣言 int i; //カウンタとして使った int val; //ファイルからデータを読み出す時に使う int dt; //グラフの横軸の間隔 int F,T; //グラフの縦軸と横軸に使う int data[200]; //配列の宣言 FILE *fp; //ファイルの宣言とオープン __fastcall TForm1(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif