home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 February / Chip_2004-02_cd1.bin / program / delphi / navody / d56 / ec1vr2.exe / #setuppath# / CB5 / Prntext / Main.h < prev    next >
Encoding:
C/C++ Source or Header  |  2003-12-09  |  2.0 KB  |  61 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 <Buttons.hpp>
  19. #include <Classes.hpp>
  20. #include <Controls.hpp>
  21. #include <Dialogs.hpp>
  22. #include <ExtCtrls.hpp>
  23. #include <Menus.hpp>
  24. #include <ComCtrls.hpp>
  25. #include <StdCtrls.hpp>
  26. //---------------------------------------------------------------------------
  27. class TMainForm : public TForm
  28. {
  29. __published:
  30.     TMainMenu *MainMenu;
  31.     TMenuItem *FileOpenItem;
  32.     TMenuItem *FilePrintItem;
  33.     TMenuItem *FilePrintSetupItem;
  34.     TMenuItem *FileExitItem;
  35.     TMenuItem *HelpAboutItem;
  36.     TOpenDialog *OpenDialog;
  37.     TPanel *SpeedBar;
  38.     TSpeedButton *SpeedButton1;  // &Open...
  39.     TSpeedButton *SpeedButton2;  // &Print...
  40.     TSpeedButton *SpeedButton3;  // P&rint Setup...
  41.     TSpeedButton *SpeedButton4;  // E&xit
  42.     TSpeedButton *SpeedButton5;  // &About...
  43.         TRichEdit *RichEdit1;
  44.         TMenuItem *Preview;
  45.         TSpeedButton *SpeedButton6;
  46.         void __fastcall FileOpen(TObject *Sender);
  47.         void __fastcall FilePrint(TObject *Sender);
  48.         void __fastcall FilePrintSetup(TObject *Sender);
  49.         void __fastcall FileExit(TObject *Sender);
  50.         void __fastcall HelpAbout(TObject *Sender);
  51.         void __fastcall PreviewClick(TObject *Sender);
  52. private:        // private user declarations
  53. public:         // public user declarations
  54.     virtual __fastcall TMainForm(TComponent* Owner);
  55. };
  56. //---------------------------------------------------------------------------
  57. extern PACKAGE TMainForm *MainForm;
  58. //---------------------------------------------------------------------------
  59. #endif
  60.  
  61.