Unit1.h
上传用户:wangli
上传日期:2008-04-19
资源大小:3077k
文件大小:1k
源码类别:

xml/soap/webservice

开发平台:

C++ Builder

  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <msxmldom.hpp>
  10. #include <XMLDoc.hpp>
  11. #include <xmldom.hpp>
  12. #include <XMLIntf.hpp>
  13. #include <ComCtrls.hpp>
  14. //---------------------------------------------------------------------------
  15. class TForm1 : public TForm
  16. {
  17. __published: // IDE-managed Components
  18.         TXMLDocument *XMLDoc;
  19.         TListView *lstMain;
  20.         TButton *Button1;
  21.         TButton *Button2;
  22.         void __fastcall Button1Click(TObject *Sender);
  23.         void __fastcall FormCreate(TObject *Sender);
  24.         void __fastcall ListView1CustomDrawItem(TCustomListView *Sender,
  25.           TListItem *Item, TCustomDrawState State, bool &DefaultDraw);
  26.         bool __fastcall AddTask(int itemnum,String date,
  27. String method,int account,String con) ;
  28.         void __fastcall Button2Click(TObject *Sender);
  29. private: // User declarations
  30. public: // User declarations
  31.         __fastcall TForm1(TComponent* Owner);
  32.         void __fastcall refresh();
  33. };
  34. //---------------------------------------------------------------------------
  35. extern PACKAGE TForm1 *Form1;
  36. //---------------------------------------------------------------------------
  37. #endif