salvaVidas/scr/TInfoBox.cpp
2021-09-01 18:26:41 +02:00

29 lines
967 B
C++

//---------------------------------------------------------------------------
#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);
}
//---------------------------------------------------------------------------