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