4.0.8 & convert utf8

This commit is contained in:
2026-10-13 17:03:09 +08:00
parent 7fa081911b
commit 57b2f5192b
31 changed files with 1277 additions and 1142 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
@@ -28,7 +28,7 @@ void __fastcall TBet03Frame::DiffEditExit(TObject *Sender)
int num = 0;
if(!TryStrToInt(pE->Text, num) || num<=0 || num>=30 ){
ShowMessage("请输入 1 - 30 之间的差值");
ShowMessage("请输入 1 - 30 之间的差值");
pE->Text = "5";
pE->SetFocus();
}
@@ -48,7 +48,7 @@ void __fastcall TBet03Frame::BetEditExit(TObject *Sender)
TEdit* pE = (TEdit*)Sender;
String txt = pE->Text;
if(txt.Length()==0 || txt.Length()>15){
ShowMessage("请输入 1 - 15 个下注项");
ShowMessage("请输入 1 - 15 个下注项");
pE->Text = pE==m_edBlP ? g_BPDiffBet.bets[0] : g_BPDiffBet.bets[1];
pE->SetFocus();
}
@@ -56,7 +56,7 @@ void __fastcall TBet03Frame::BetEditExit(TObject *Sender)
for(int i=1; i<=txt.Length(); i++){
char Key = txt[i];
if(Key!='a' && Key!='s' && Key!='d' && Key!='x' && Key!='z'){
ShowMessage("请按说明输入合法下注项");
ShowMessage("请按说明输入合法下注项");
pE->SetFocus();
return;