first commit (2005-12-25)
This commit is contained in:
28
scr/TInfoBox.cpp
Normal file
28
scr/TInfoBox.cpp
Normal file
@ -0,0 +1,28 @@
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#include <vcl.h>
|
||||
#include <mmsystem.h>
|
||||
#pragma hdrstop
|
||||
|
||||
#include "TInfoBox.h"
|
||||
//---------------------------------------------------------------------------
|
||||
#pragma package(smart_init)
|
||||
#pragma resource "*.dfm"
|
||||
TInfoBox *InfoBox;
|
||||
//---------------------------------------------------------------------------
|
||||
__fastcall TInfoBox::TInfoBox(TComponent* Owner)
|
||||
: TForm(Owner)
|
||||
{
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
void __fastcall TInfoBox::BitBtn1Click(TObject *Sender)
|
||||
{
|
||||
sndPlaySound(0,0);
|
||||
Visible=false;
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
void __fastcall TInfoBox::FormShow(TObject *Sender)
|
||||
{
|
||||
// sndPlaySound("snd\\recibiendoAtaque.wav", SND_ASYNC | SND_FILENAME | SND_LOOP);
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user