GraphDemo.h
上传用户:lulishicai
上传日期:2010-03-01
资源大小:13202k
文件大小:2k
源码类别:

Delphi/CppBuilder

开发平台:

C++ Builder

  1. //---------------------------------------------------------------------------
  2. #ifndef GraphDemoH
  3. #define GraphDemoH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <ComCtrls.hpp>
  10. #include <OleCtrls.hpp>
  11. #include <VCFI.hpp>
  12. #include "MSChart20Lib_OCX.h"
  13. //---------------------------------------------------------------------------
  14. class TForm1 : public TForm
  15. {
  16. __published: // IDE-managed Components
  17.         TComboBox *ComboBox1;
  18.         TEdit *Edit1;
  19.         TEdit *Edit2;
  20.         TEdit *Edit3;
  21.         TUpDown *UpDown1;
  22.         TUpDown *UpDown2;
  23.         TButton *Button1;
  24.         TButton *Button2;
  25.         TButton *Button3;
  26.         TButton *Button4;
  27.         TMSChart *MSChart1;
  28.         void __fastcall FormCreate(TObject *Sender);
  29.         void __fastcall ComboBox1Click(TObject *Sender);
  30.         void __fastcall UpDown1Click(TObject *Sender, TUDBtnType Button);
  31.         void __fastcall UpDown2Click(TObject *Sender, TUDBtnType Button);
  32.         void __fastcall Button1Click(TObject *Sender);
  33.         void __fastcall Button3Click(TObject *Sender);
  34.         void __fastcall Button2Click(TObject *Sender);
  35.         void __fastcall Button4Click(TObject *Sender);
  36.         void __fastcall Edit3Change(TObject *Sender);
  37.         void __fastcall MSChart1DataUpdated(TObject *Sender, short *axisID,
  38.           short *AxisIndex, short *labelSetIndex, short *LabelIndex,
  39.           short *MouseFlags, short *Cancel);
  40. private: // User declarations
  41. public: // User declarations
  42.         __fastcall TForm1(TComponent* Owner);
  43. };
  44. //---------------------------------------------------------------------------
  45. extern PACKAGE TForm1 *Form1;
  46. //---------------------------------------------------------------------------
  47. #endif
  48.