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