home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 April
/
Chip_1997-04_cd.bin
/
prezent
/
cb
/
data.z
/
WPM.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-01-16
|
1KB
|
40 lines
//----------------------------------------------------------------------------
//Borland C++ Builder
//Copyright (c) 1987 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