X
xinjia
Unregistered / Unconfirmed
GUEST, unregistred user!
{edit1.text接收密码}
{用sql取密码czymm}
procedure Tloginin.BitBtn1Click(Sender: TObject);
if srcs<=3 then
begin
if edit1.text=czymm then
modalresult:=mrok
else
begin
ShowMessage('密码输入错误!,请再输入一次。');
edit1.setfocus;
end
end
else
begin
ShowMessage('密码输入三次错误,不能进入系统!');
application.Terminate;
end
{用sql取密码czymm}
procedure Tloginin.BitBtn1Click(Sender: TObject);
if srcs<=3 then
begin
if edit1.text=czymm then
modalresult:=mrok
else
begin
ShowMessage('密码输入错误!,请再输入一次。');
edit1.setfocus;
end
end
else
begin
ShowMessage('密码输入三次错误,不能进入系统!');
application.Terminate;
end