用ADO连接数据库时,会弹出一个要求用户名和密码的注册事件,要把这个事件在代码里写,应该用adoconnection的哪个事件?(onlogin,onwillconnect or onbeforconnect),具体怎么写代码?