home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 February / Chip_2004-02_cd1.bin / program / delphi / navody / d56 / ec1vr2.exe / #setuppath# / CB5 / 2DTable / Main.h < prev    next >
Encoding:
C/C++ Source or Header  |  2003-12-09  |  2.2 KB  |  67 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 <ExtCtrls.hpp>
  22. #include <Menus.hpp>
  23. #include <DBGrids.hpp>
  24. #include <Grids.hpp>
  25. #include <DBCtrls.hpp>
  26. #include <StdCtrls.hpp>
  27. #include "Vrprev.h"
  28. #include "Vrprogr.h"
  29. //---------------------------------------------------------------------------
  30. class TMainForm : public TForm
  31. {
  32. __published:   
  33.     TMainMenu *MainMenu;
  34.     TMenuItem *PrintItem;
  35.     TMenuItem *PrintSetupItem;
  36.     TMenuItem *ExitItem;
  37.     TMenuItem *AboutItem;
  38.     TPanel *SpeedBar;
  39.     TSpeedButton *SpeedButton1;  // &Print...
  40.     TSpeedButton *SpeedButton2;  // P&rint Setup...
  41.     TSpeedButton *SpeedButton3;  // E&xit
  42.     TSpeedButton *SpeedButton4;  // &About...
  43.     TMenuItem *PrintPreviewItem;
  44.     TSpeedButton *SpeedButton5;
  45.     TPanel *CustPanel;
  46.     TLabel *CustLabel;
  47.     TDBGrid *CustGrid;
  48.     TSplitter *Splitter1;
  49.         TPanel *MethodsPanel;
  50.         TLabel *MethodsLabel;
  51.         TDBGrid *MethodsGrid;
  52.     TVRPreview *VRPreview;
  53.     TVRPrintProgress *VRPrintProgress;
  54.     void __fastcall PrintSetup(TObject *Sender);
  55.     void __fastcall Exit(TObject *Sender);
  56.     void __fastcall About(TObject *Sender);
  57.         void __fastcall PrintPreviewItemClick(TObject *Sender);
  58.         void __fastcall PrintItemClick(TObject *Sender);
  59. private:        // private user declarations
  60. public:         // public user declarations
  61.     virtual __fastcall TMainForm(TComponent* Owner);
  62. };
  63. //---------------------------------------------------------------------------
  64. extern PACKAGE TMainForm *MainForm;
  65. //---------------------------------------------------------------------------
  66. #endif
  67.