Demo4Frm.h
上传用户:daoqigc
上传日期:2021-04-20
资源大小:2795k
文件大小:1k
- //---------------------------------------------------------------------------
- #ifndef Demo4FrmH
- #define Demo4FrmH
- //---------------------------------------------------------------------------
- #include <vclClasses.hpp>
- #include <vclControls.hpp>
- #include <vclStdCtrls.hpp>
- #include <vclForms.hpp>
- #include "RichView.hpp"
- #include "RVScroll.hpp"
- #include "RVStyle.hpp"
- #include <vclMenus.hpp>
- //---------------------------------------------------------------------------
- class TfrmDemo4 : public TForm
- {
- __published: // IDE-managed Components
- TRichView *rv;
- TRVStyle *rvs;
- TPopupMenu *pm;
- TMenuItem *Watch1;
- TMenuItem *Phone1;
- TMenuItem *Keyboard1;
- TMenuItem *NoSmokeSign1;
- TMenuItem *Socket1;
- TMenuItem *Pot1;
- TMenuItem *Books1;
- TMenuItem *Bridge1;
- TImageList *ilGoods;
- TImageList *il;
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall rvJump(TObject *Sender, int id);
- void __fastcall pmItemClick(TObject *Sender);
- void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
- private: // User declarations
- int Goods[10];
- int GoodsCount;
- void BuildDoc();
- public: // User declarations
- __fastcall TfrmDemo4(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- extern TfrmDemo4 *frmDemo4;
- //---------------------------------------------------------------------------
- #endif