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