Unit1.h
上传用户:lhxd_sz
上传日期:2014-10-02
资源大小:38814k
文件大小:1k
- //---------------------------------------------------------------------------
- #ifndef Unit1H
- #define Unit1H
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <shellapi.hpp>
- #include <Messages.hpp>
- #include <Windows.hpp>
- #include <SysUtils.hpp>
- #include <Menus.hpp>
- //Classes
- //Graphics
- //Controls
- //Forms,
- //Dialogs, Menus;
- //---------------------------------------------------------------------------
- class TForm1 : public TForm
- {
- __published: // IDE-managed Components
- TPopupMenu *PopupMenu1;
- TMenuItem *N1;
- TMenuItem *N2;
- void __fastcall FormShow(TObject *Sender);
- void __fastcall N2Click(TObject *Sender);
- void __fastcall N1Click(TObject *Sender);
- private: // User declarations
- public: // User declarations
- __fastcall TForm1(TComponent* Owner);
- __fastcall ~TForm1();
- TIcon *MyIcon;
- void virtual __fastcall IconClick(TMessage& Msg);
- BEGIN_MESSAGE_MAP
- MESSAGE_HANDLER(WM_USER+100,TMessage,IconClick)
- END_MESSAGE_MAP(TForm)
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TForm1 *Form1;
- //---------------------------------------------------------------------------
- #endif
-