home *** CD-ROM | disk | FTP | other *** search
/ Freelog 34 / Freelog034.iso / Progr / Demo / Main.~h < prev    next >
Text File  |  2002-04-21  |  3KB  |  81 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef MainH
  3. #define MainH
  4. //---------------------------------------------------------------------------
  5. #include <vcl\sysutils.hpp>
  6. #include <vcl\windows.hpp>
  7. #include <vcl\messages.hpp>
  8. #include <vcl\sysutils.hpp>
  9. #include <vcl\classes.hpp>
  10. #include <vcl\graphics.hpp>
  11. #include <vcl\controls.hpp>
  12. #include <vcl\forms.hpp>
  13. #include <vcl\dialogs.hpp>
  14. #include <vcl\stdctrls.hpp>
  15. #include <vcl\buttons.hpp>
  16. #include <vcl\extctrls.hpp>
  17. #include <vcl\menus.hpp>
  18. #include <Classes.hpp>
  19. #include <ComCtrls.hpp>
  20. #include <Controls.hpp>
  21. #include <Dialogs.hpp>
  22. #include <Menus.hpp>
  23. #include <StdCtrls.hpp>
  24. //---------------------------------------------------------------------------
  25. class TMainForm : public TForm
  26. {
  27. __published:   
  28.     TMainMenu *MainMenu;
  29.     TMenuItem *FileNewItem;
  30.     TMenuItem *FileOpenItem;
  31.     TMenuItem *FileSaveItem;
  32.     TMenuItem *FileSaveAsItem;
  33.     TMenuItem *FilePrintItem;
  34.     TMenuItem *FilePrintSetupItem;
  35.     TMenuItem *FileExitItem;
  36.     TMenuItem *EditUndoItem;
  37.     TMenuItem *EditCutItem;
  38.     TMenuItem *EditCopyItem;
  39.     TMenuItem *EditPasteItem;
  40.     TMenuItem *WindowTileItem;
  41.     TMenuItem *WindowCascadeItem;
  42.     TMenuItem *WindowArrangeItem;
  43.     TMenuItem *HelpContentsItem;
  44.     TMenuItem *HelpSearchItem;
  45.     TMenuItem *HelpHowToUseItem;
  46.     TMenuItem *HelpAboutItem;
  47.     TStatusBar *StatusLine;
  48.     TOpenDialog *OpenDialog;
  49.     TSaveDialog *SaveDialog;
  50.     TPrintDialog *PrintDialog;
  51.     TPrinterSetupDialog *PrintSetupDialog;
  52.     TMemo *Memo1;
  53.     void __fastcall FormCreate(TObject *Sender);
  54.     void __fastcall ShowHint(TObject *Sender);
  55.     void __fastcall FileNew(TObject *Sender);
  56.     void __fastcall FileOpen(TObject *Sender);
  57.     void __fastcall FileSave(TObject *Sender);
  58.     void __fastcall FileSaveAs(TObject *Sender);
  59.     void __fastcall FilePrint(TObject *Sender);
  60.     void __fastcall FilePrintSetup(TObject *Sender);
  61.     void __fastcall FileExit(TObject *Sender);
  62.     void __fastcall EditUndo(TObject *Sender);
  63.     void __fastcall EditCut(TObject *Sender);
  64.     void __fastcall EditCopy(TObject *Sender);
  65.     void __fastcall EditPaste(TObject *Sender);
  66.     void __fastcall WindowTile(TObject *Sender);
  67.     void __fastcall WindowCascade(TObject *Sender);
  68.     void __fastcall WindowArrange(TObject *Sender);
  69.     void __fastcall HelpContents(TObject *Sender);
  70.     void __fastcall HelpSearch(TObject *Sender);
  71.     void __fastcall HelpHowToUse(TObject *Sender);
  72.     void __fastcall HelpAbout(TObject *Sender);
  73. private:        //  dΘclarations de l'utilisateur privΘes 
  74. public:         //  dΘclarations de l'utilisateur publiques 
  75.     virtual __fastcall TMainForm(TComponent* Owner);
  76. };
  77. //---------------------------------------------------------------------------
  78. extern PACKAGE TMainForm *MainForm;
  79. //---------------------------------------------------------------------------
  80. #endif
  81.