v5.1 代码策略

This commit is contained in:
2026-11-24 21:51:58 +08:00
parent a98b5bc8c2
commit 8d8eec8e95
22 changed files with 2810 additions and 535 deletions
+3 -3
View File
@@ -23,9 +23,9 @@ 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";
if(!TryStrToInt(pE->Text, num) || num<1 || num>g_MaxOnBet ){
ShowMessage("注码不能小于 1 或大于限红");
pE->Text = pE==m_leMinChip ? "1" : "5";
pE->SetFocus();
}
}