home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 April / Chip_1997-04_cd.bin / prezent / cb / data.z / BRPARTS.H < prev    next >
C/C++ Source or Header  |  1997-01-16  |  1KB  |  42 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef brpartsH
  3. #define brpartsH
  4. //---------------------------------------------------------------------------
  5. #include <vcl\Classes.hpp>
  6. #include <vcl\Controls.hpp>
  7. #include <vcl\StdCtrls.hpp>
  8. #include <vcl\Forms.hpp>
  9. #include <vcl\ExtCtrls.hpp>
  10. #include <vcl\DBCtrls.hpp>
  11. #include <vcl\Buttons.hpp>
  12. #include <vcl\DBGrids.hpp>
  13. #include <vcl\Grids.hpp>
  14. //---------------------------------------------------------------------------
  15. class TBrPartsForm : public TForm
  16. {
  17. __published:    // IDE-managed Components
  18.     TPanel *Panel1;
  19.     TDBNavigator *DBNavigator1;
  20.     TButton *EditBtn;
  21.     TSpeedButton *ActivateBtn;
  22.     TPanel *Panel2;
  23.     TButton *CloseBtn;
  24.     TDBGrid *PartsGrid;
  25.     TBevel *Bevel1;
  26.     void __fastcall EditBtnClick(TObject *Sender);
  27.     void __fastcall CloseBtnClick(TObject *Sender);
  28.     void __fastcall ActivateQuery(TObject *Sender);
  29.     void __fastcall FormShow(TObject *Sender);
  30. private:    // User declarations
  31.     double FPartNo;
  32.     double GetPartNo();
  33.     void SetPartNo(double);
  34.  public:        // User declarations
  35.     __property Double PartNo={read=GetPartNo,write=SetPartNo};
  36.     virtual __fastcall TBrPartsForm(TComponent* Owner);
  37. };
  38. //---------------------------------------------------------------------------
  39. extern TBrPartsForm *BrPartsForm;
  40. //---------------------------------------------------------------------------
  41. #endif
  42.