Unit1.~h
上传用户:wangli
上传日期:2008-04-19
资源大小:3077k
文件大小:1k
- //---------------------------------------------------------------------------
- #ifndef Unit1H
- #define Unit1H
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <msxmldom.hpp>
- #include <XMLDoc.hpp>
- #include <xmldom.hpp>
- #include <XMLIntf.hpp>
- #include <ComCtrls.hpp>
- //---------------------------------------------------------------------------
- class TForm1 : public TForm
- {
- __published: // IDE-managed Components
- TXMLDocument *XMLDoc;
- TListView *lstMain;
- TButton *Button1;
- TButton *Button2;
- void __fastcall Button1Click(TObject *Sender);
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall ListView1CustomDrawItem(TCustomListView *Sender,
- TListItem *Item, TCustomDrawState State, bool &DefaultDraw);
- bool __fastcall AddTask(int itemnum,String date,
- String method,int account,String con) ;
- void __fastcall Button2Click(TObject *Sender);
- private: // User declarations
- public: // User declarations
- __fastcall TForm1(TComponent* Owner);
- void __fastcall refresh();
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TForm1 *Form1;
- //---------------------------------------------------------------------------
- #endif