home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / borland / cb / setup / cbuilder / data.z / WPM.H < prev    next >
C/C++ Source or Header  |  1997-02-28  |  2KB  |  40 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef wpmH
  7. #define wpmH
  8. //---------------------------------------------------------------------------
  9. #include <Forms.hpp>
  10. #include <ExtCtrls.hpp>
  11. #include <Classes.hpp>
  12. #include <ComCtrls.hpp>
  13. #include <StdCtrls.hpp>
  14. #include <Controls.hpp>
  15. //---------------------------------------------------------------------------
  16. class TForm1 : public TForm
  17. {
  18. __published:
  19.     TTimer *Timer1;
  20.     TRichEdit *RichEdit1;
  21.     TLabel *Label1;
  22.     TProgressBar *ProgressBar1;
  23.     TButton *Button1;
  24.     TButton *Button2;
  25.     TLabel *Label2;
  26.     void __fastcall IncrementBar(TObject *Sender);
  27.     void __fastcall Button2Click(TObject *Sender);
  28.     void __fastcall Button1Click(TObject *Sender);
  29.     int __fastcall CalculateWPM(void);
  30.     void __fastcall StartTimer(TObject *Sender, Word &Key,
  31.       TShiftState Shift);
  32. private:        // private user declarations
  33. public:         // public user declarations
  34.     virtual __fastcall TForm1(TComponent* Owner);
  35. };
  36. //---------------------------------------------------------------------------
  37. extern TForm1 *Form1;
  38. //---------------------------------------------------------------------------
  39. #endif
  40.