//---------------------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ActnList.hpp>
#include <Menus.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
    TTreeView *TreeView1;
    TPopupMenu *PopupMenu_Menu;
    TMenuItem *N9;
    TActionList *ActionList1;
    TAction *Copy;
    TAction *Paste;
    TMenuItem *N1;
    void __fastcall CopyExecute(TObject *Sender);
    void __fastcall PasteExecute(TObject *Sender);
    void __fastcall TreeView1MouseDown(TObject *Sender,
          TMouseButton Button, TShiftState Shift, int X, int Y);
private:	// User declarations
public:		// User declarations

    void __fastcall FAddNode(int   Index,WideString      WStrName);
    void __fastcall TravelAllChild(int &ChildCount, TTreeNode* pNode);
    int  __fastcall GetChildCount(TTreeNode *pNode);



    TTreeNode                     *Copy_Node;     //½Æ»s±M¥Î


    __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
