home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Internet 2000 May / MICD_2000_05.iso / CBuilder5 / INSTALL / DATA1.CAB / Program_Built_Files / Include / Vcl / teeabout.hpp < prev    next >
C/C++ Source or Header  |  2000-02-01  |  6KB  |  199 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1999 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'TeeAbout.pas' rev: 5.00
  6.  
  7. #ifndef TeeAboutHPP
  8. #define TeeAboutHPP
  9.  
  10. #pragma delphiheader begin
  11. #pragma option push -w-
  12. #pragma option push -Vx
  13. #include <ComCtrls.hpp>    // Pascal unit
  14. #include <Buttons.hpp>    // Pascal unit
  15. #include <ExtCtrls.hpp>    // Pascal unit
  16. #include <StdCtrls.hpp>    // Pascal unit
  17. #include <Dialogs.hpp>    // Pascal unit
  18. #include <Forms.hpp>    // Pascal unit
  19. #include <Controls.hpp>    // Pascal unit
  20. #include <Graphics.hpp>    // Pascal unit
  21. #include <Classes.hpp>    // Pascal unit
  22. #include <SysUtils.hpp>    // Pascal unit
  23. #include <Messages.hpp>    // Pascal unit
  24. #include <Windows.hpp>    // Pascal unit
  25. #include <SysInit.hpp>    // Pascal unit
  26. #include <System.hpp>    // Pascal unit
  27.  
  28. //-- user supplied -----------------------------------------------------------
  29.  
  30. namespace Teeabout
  31. {
  32. //-- type declarations -------------------------------------------------------
  33. #pragma pack(push, 1)
  34. struct TTeeProduct
  35. {
  36.     AnsiString Description;
  37.     int Price;
  38.     int Ship;
  39. } ;
  40. #pragma pack(pop)
  41.  
  42. typedef TTeeProduct TeeAbout__2[11];
  43.  
  44. class DELPHICLASS TTeeAboutForm;
  45. class PASCALIMPLEMENTATION TTeeAboutForm : public Forms::TForm 
  46. {
  47.     typedef Forms::TForm inherited;
  48.     
  49. __published:
  50.     Stdctrls::TButton* BClose;
  51.     Stdctrls::TLabel* LabelVersion;
  52.     Stdctrls::TButton* BNext;
  53.     Stdctrls::TButton* BPrevious;
  54.     Dialogs::TPrintDialog* PrintDialog1;
  55.     Dialogs::TSaveDialog* SaveDialog1;
  56.     Extctrls::TPanel* Panel1;
  57.     Extctrls::TNotebook* Notebook1;
  58.     Extctrls::TImage* Image1;
  59.     Stdctrls::TLabel* Label2;
  60.     Stdctrls::TLabel* Label3;
  61.     Stdctrls::TLabel* LabelSourceCode;
  62.     Stdctrls::TLabel* Labelwww;
  63.     Stdctrls::TLabel* LabelVersions;
  64.     Stdctrls::TGroupBox* GroupBox2;
  65.     Stdctrls::TLabel* Label9;
  66.     Stdctrls::TLabel* Label8;
  67.     Stdctrls::TLabel* Label10;
  68.     Stdctrls::TLabel* Label11;
  69.     Stdctrls::TLabel* Label16;
  70.     Stdctrls::TLabel* Label14;
  71.     Stdctrls::TLabel* Label15;
  72.     Stdctrls::TLabel* Label13;
  73.     Stdctrls::TLabel* Label12;
  74.     Stdctrls::TLabel* Label17;
  75.     Stdctrls::TEdit* EAddress;
  76.     Stdctrls::TEdit* ECity;
  77.     Stdctrls::TEdit* EState;
  78.     Stdctrls::TEdit* EZIP;
  79.     Stdctrls::TEdit* ECountry;
  80.     Stdctrls::TEdit* EPhone;
  81.     Stdctrls::TEdit* EEMail;
  82.     Stdctrls::TEdit* ECompany;
  83.     Stdctrls::TEdit* EName;
  84.     Stdctrls::TEdit* EFAX;
  85.     Stdctrls::TGroupBox* GPCard;
  86.     Stdctrls::TLabel* Label19;
  87.     Stdctrls::TLabel* Label20;
  88.     Stdctrls::TEdit* ECardNumber;
  89.     Stdctrls::TEdit* ECardDate;
  90.     Stdctrls::TLabel* LabelThanks;
  91.     Stdctrls::TButton* BPrintOrder;
  92.     Stdctrls::TButton* BSaveOrder;
  93.     Stdctrls::TButton* BCopyOrder;
  94.     Extctrls::TRadioGroup* RGLicense;
  95.     Extctrls::TPanel* Panel3;
  96.     Stdctrls::TLabel* Label31;
  97.     Stdctrls::TEdit* SEQuantity;
  98.     Stdctrls::TLabel* Label32;
  99.     Extctrls::TPanel* Panel4;
  100.     Stdctrls::TLabel* Label23;
  101.     Stdctrls::TLabel* LTotal;
  102.     Stdctrls::TLabel* Label18;
  103.     Stdctrls::TEdit* ECardHolder;
  104.     Extctrls::TRadioGroup* CBPaymentType;
  105.     Stdctrls::TComboBox* CBShip;
  106.     Stdctrls::TLabel* LShip;
  107.     Stdctrls::TLabel* Label6;
  108.     Stdctrls::TEdit* EECTax;
  109.     Extctrls::TPanel* Panel2;
  110.     Stdctrls::TLabel* Label24;
  111.     Stdctrls::TLabel* Label25;
  112.     Stdctrls::TLabel* Label26;
  113.     Stdctrls::TLabel* Label28;
  114.     Stdctrls::TLabel* Label27;
  115.     Stdctrls::TLabel* Label33;
  116.     Stdctrls::TLabel* Label34;
  117.     Stdctrls::TLabel* Label29;
  118.     Stdctrls::TLabel* Label30;
  119.     Stdctrls::TLabel* Label22;
  120.     Stdctrls::TLabel* Label36;
  121.     Stdctrls::TLabel* Label37;
  122.     Stdctrls::TLabel* Label35;
  123.     Stdctrls::TLabel* Label38;
  124.     Stdctrls::TMemo* Memo1;
  125.     Stdctrls::TLabel* Label39;
  126.     Buttons::TBitBtn* BOrder;
  127.     Stdctrls::TLabel* Label40;
  128.     Stdctrls::TLabel* Label41;
  129.     Comctrls::TUpDown* UDQuantity;
  130.     Extctrls::TImage* Image2;
  131.     void __fastcall BCloseClick(System::TObject* Sender);
  132.     void __fastcall BOrderClick(System::TObject* Sender);
  133.     void __fastcall FormCreate(System::TObject* Sender);
  134.     void __fastcall BNextClick(System::TObject* Sender);
  135.     void __fastcall BPreviousClick(System::TObject* Sender);
  136.     void __fastcall BPrintOrderClick(System::TObject* Sender);
  137.     void __fastcall BSaveOrderClick(System::TObject* Sender);
  138.     void __fastcall BCopyOrderClick(System::TObject* Sender);
  139.     void __fastcall SEQuantityChange(System::TObject* Sender);
  140.     void __fastcall FormCloseQuery(System::TObject* Sender, bool &CanClose);
  141.     void __fastcall RGLicenseClick(System::TObject* Sender);
  142.     void __fastcall CBPaymentTypeChange(System::TObject* Sender);
  143.     void __fastcall CBShipChange(System::TObject* Sender);
  144.     void __fastcall ENameKeyPress(System::TObject* Sender, char &Key);
  145.     void __fastcall LabelwwwClick(System::TObject* Sender);
  146.     void __fastcall FormShow(System::TObject* Sender);
  147.     
  148. public:
  149.     bool OrderProcessed;
  150.     int ProductCount;
  151.     TTeeProduct TeeProducts[11];
  152.     bool ShowOrderInfo;
  153.     void __fastcall CheckButtons(void);
  154.     Classes::TStringList* __fastcall GetOrderForm(void);
  155.     AnsiString __fastcall FormatUSD(int Value);
  156.     int __fastcall ShippingPrice(void);
  157.     void __fastcall RefreshTotal(void);
  158.     int __fastcall CalcTotal(void);
  159.     int __fastcall NumCopies(void);
  160.     void __fastcall ClearProducts(void);
  161.     void __fastcall AddProduct(const AnsiString ADesc, int APrice, int AShip);
  162. public:
  163.     #pragma option push -w-inl
  164.     /* TCustomForm.Create */ inline __fastcall virtual TTeeAboutForm(Classes::TComponent* AOwner) : Forms::TForm(
  165.         AOwner) { }
  166.     #pragma option pop
  167.     #pragma option push -w-inl
  168.     /* TCustomForm.CreateNew */ inline __fastcall virtual TTeeAboutForm(Classes::TComponent* AOwner, int 
  169.         Dummy) : Forms::TForm(AOwner, Dummy) { }
  170.     #pragma option pop
  171.     #pragma option push -w-inl
  172.     /* TCustomForm.Destroy */ inline __fastcall virtual ~TTeeAboutForm(void) { }
  173.     #pragma option pop
  174.     
  175. public:
  176.     #pragma option push -w-inl
  177.     /* TWinControl.CreateParented */ inline __fastcall TTeeAboutForm(HWND ParentWindow) : Forms::TForm(
  178.         ParentWindow) { }
  179.     #pragma option pop
  180.     
  181. };
  182.  
  183.  
  184. //-- var, const, procedure ---------------------------------------------------
  185. extern PACKAGE AnsiString TeeDefProductName;
  186. extern PACKAGE void __fastcall TeeShowAboutBox(bool ShowOrder);
  187. extern PACKAGE void __fastcall GotoURL(int Handle, const AnsiString URL);
  188.  
  189. }    /* namespace Teeabout */
  190. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  191. using namespace Teeabout;
  192. #endif
  193. #pragma option pop    // -w-
  194. #pragma option pop    // -Vx
  195.  
  196. #pragma delphiheader end.
  197. //-- end unit ----------------------------------------------------------------
  198. #endif    // TeeAbout
  199.