Initial commit

This commit is contained in:
2026-06-12 22:37:02 +08:00
commit 94e46587da
77 changed files with 168188 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Chip02FrameUnit.h"
#include "GameUnit.h"
#include "PolicyUnit.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TChip02Frame *Chip02Frame = NULL;
//---------------------------------------------------------------------------
__fastcall TChip02Frame::TChip02Frame(TComponent* Owner)
: TFrame(Owner)
{
m_leMinChip->Text = g_RandomChip.minChip;
m_leMaxChip->Text = g_RandomChip.maxChip;
}
//---------------------------------------------------------------------------
void __fastcall TChip02Frame::EditChipExit(TObject *Sender)
{
TEdit* pE = (TEdit*)Sender;
int num;
if(!TryStrToInt(pE->Text, num) || num<g_MinOnBet || num>g_MaxOnBet ){
ShowMessage("×¢Âë½ð¶î²»Äܳ¬¹ýÏÞºì");
pE->Text = pE==m_leMinChip ? "20" : "100";
pE->SetFocus();
}
}
//---------------------------------------------------------------------------