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

#ifndef Unit07H
#define Unit07H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ActnList.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ComCtrls.hpp>
#include <ToolWin.hpp>
#include <Dialogs.hpp>
#include <Buttons.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
        TActionList *ActionList1;
        TAction *FileNewCmd;
        TAction *FileOpenCmd;
        TAction *FileExitCmd;
        TAction *FileSaveAsCmd;
        TActionList *ActionList2;
        TAction *EditUndoCmd;
        TAction *EditCutCmd;
        TAction *EditCopyCmd;
        TAction *EditPasteCmd;
        TImageList *MenuImages;
        TMainMenu *MainMenu;
        TMenuItem *FileMenu;
        TMenuItem *FileNewItem;
        TMenuItem *FileOpenItem;
        TMenuItem *FileSaveAs;
        TMenuItem *FileExitItem;
        TMenuItem *EditMenu;
        TMenuItem *EditUndoItem;
        TMenuItem *EditCutItem;
        TMenuItem *EditCopyItem;
        TMenuItem *EditPasteItem;
        TToolBar *ToolBar1;
        TButton *CloseApplication;
        TRichEdit *RichEdit1;
        TSpeedButton *FileNew;
        TSpeedButton *FileOpen;
        TSpeedButton *FileSave;
        TSpeedButton *Cut;
        TSpeedButton *Copy;
        TSpeedButton *Paste;
        TSpeedButton *Undo;
        TOpenDialog *OpenDialog1;
        TSaveDialog *SaveDialog1;
        void __fastcall FormCreate(TObject *Sender);
        void __fastcall CloseApplicationClick(TObject *Sender);
        void __fastcall CheckFileSave(void);
        void __fastcall FileNewClick(TObject *Sender);
        void __fastcall FileOpenClick(TObject *Sender);
        void __fastcall FileSaveAsClick(TObject *Sender);
        void __fastcall CopyClick(TObject *Sender);
        void __fastcall PasteClick(TObject *Sender);
        void __fastcall UndoClick(TObject *Sender);
        void __fastcall CutClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
