FOYDALANILGAN ADABIYOTLAR RO`YXATI
1. Архангельский А.Я. C++Builder 6. Справочное пособие. Бином, 2002г.
С. – 544. - ISBN: 5-9518-0007-2
2. Джаррод Холингворт, Боб Сворт, Марк Кэшмэн, Поль
Густавсон Borland C++ Builder 6. Руководство разработчика =
Borland
C++ Builder 6 Developer’s Guide. — М.:
«Вильямс»
, 2004. — С. 976. —
ISBN 0-672-32480-6
.
3. Джерод Холлингворс, Дэн Баттерфилд, Боб Свот C++ Builder 5.
Руководство разработчика = C++ Builder 5 Developer’s Guide. —
М.:
«Диалектика»
, 2001. — С. 884. —
ISBN 0-672-31972-1
.
4. Оb’еktgа mo‘ljаllаngаn dаsturlаsh. Sh.A. Nazirov, R.V. Qobulov.
5. Xalmatov. “Informatika”
6.
http://www.cyberforum.ru/cpp-builder/thread5308.html
7. ru.wikipedia.org/wiki/C%2B%2B_
Builder
8.
http://www.booksgid.com/programmer/4548-borland-c-builder-6..html
9. https://ru.wikipedia.org/wiki/C%2B%2B_Builder
25
#define CShapeH
//---------------------------------------------------------------------------
#include
#include
#include
#include
#include
#include
class MyShape : public TShape
{
public:
__fastcall MyShape(TComponent* Owner);
__fastcall MyShape(TComponent* Owner, AnsiString _caption);
__fastcall SetCaption();
__fastcall ShowCaption(AnsiString _caption);
__fastcall SetColor(TColor c);
String Caption;
boolean toggle;
int id;
};
#endif
#include
#include
#include
#include
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:
// IDE-managed Components
TPanel *Panel1;
TShape *Shape1;
TLabel *rNumber;
TImage *Image1;
TLabel *Label2;
TLabel *Label3;
TLabel *timer;
TLabel *llevel;
TLabel *lscore;
TTimer *Timer1;
void __fastcall FormCreate(TObject *Sender);
void __fastcall MyShapeMouseUp(TObject *Sender, TMouseButton Button,
TShiftState Shift, int X, int Y);
void __fastcall Timer1Timer(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
private: // User declarations
public:
// User declarations
__fastcall TForm1(TComponent* Owner);
void TForm1::resetGame();
void TForm1::initLevel(int l);
void TForm1::startBegin();
int buttonCount;