home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 February / Chip_2004-02_cd1.bin / program / delphi / navody / d56 / ec1vr2.exe / #setuppath# / CB6 / Prnplot / Main.h < prev    next >
Encoding:
C/C++ Source or Header  |  2003-12-09  |  2.1 KB  |  64 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 <StdCtrls.hpp>
  24. #include <Db.hpp>
  25. #include <DBTables.hpp>
  26. #include <DB.hpp>
  27. //---------------------------------------------------------------------------
  28. class TMainForm : public TForm
  29. {
  30. __published:   
  31.     TMainMenu *MainMenu;
  32.     TMenuItem *PrintItem;
  33.     TMenuItem *PrintSetupItem;
  34.     TMenuItem *ExitItem;
  35.     TMenuItem *AboutItem;
  36.     TPanel *SpeedBar;
  37.     TSpeedButton *SpeedButton1;  // &Print...
  38.     TSpeedButton *SpeedButton2;  // P&rint Setup...
  39.     TSpeedButton *SpeedButton3;  // E&xit
  40.     TSpeedButton *SpeedButton4;  // &About...
  41.     TMenuItem *PrintPreviewItem;
  42.     TSpeedButton *SpeedButton5;
  43.     TTable *Table;
  44.     TDataSource *DSource;
  45.     TDatabase *Db;
  46.     TRadioGroup *Group1;
  47.     TRadioGroup *Group2;
  48.  
  49.     void __fastcall Print(TObject *Sender);
  50.     void __fastcall PrintSetup(TObject *Sender);
  51.     void __fastcall Exit(TObject *Sender);
  52.     void __fastcall About(TObject *Sender);
  53.     void __fastcall PrintPreview(TObject *Sender);
  54. private:        // private user declarations
  55.     void __fastcall GetFunction (double &AX,double &AY,double AFi,int AIndex);
  56.     void __fastcall Solve(void);
  57. public:         // public user declarations
  58.     virtual __fastcall TMainForm(TComponent* Owner);
  59. };
  60. //---------------------------------------------------------------------------
  61. extern PACKAGE TMainForm *MainForm;
  62. //---------------------------------------------------------------------------
  63. #endif
  64.