begin
Application.Initialize;
Application.CreateForm(TdmClientConn, dmClientConn);
frmUserLogin:=TfrmUserLogin.Create(Application);
if frmUserLogin.ShowModal=mrOk then
begin
Application.CreateForm(TfrmMain, frmMain);
frmUserLogin.Free;
Application.Run;
end;
end.