home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
WPM.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
2KB
|
40 lines
//----------------------------------------------------------------------------
//Borland C++Builder
//Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
//----------------------------------------------------------------------------
//---------------------------------------------------------------------------
#ifndef wpmH
#define wpmH
//---------------------------------------------------------------------------
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Classes.hpp>
#include <ComCtrls.hpp>
#include <StdCtrls.hpp>
#include <Controls.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:
TTimer *Timer1;
TRichEdit *RichEdit1;
TLabel *Label1;
TProgressBar *ProgressBar1;
TButton *Button1;
TButton *Button2;
TLabel *Label2;
void __fastcall IncrementBar(TObject *Sender);
void __fastcall Button2Click(TObject *Sender);
void __fastcall Button1Click(TObject *Sender);
int __fastcall CalculateWPM(void);
void __fastcall StartTimer(TObject *Sender, Word &Key,
TShiftState Shift);
private: // private user declarations
public: // public user declarations
virtual __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern TForm1 *Form1;
//---------------------------------------------------------------------------
#endif