//超链接
//cls="syslink"

import win.ui;
/*DSG{{*/
var winform = win.form(text="aardio form";right=759;bottom=469)
winform.add(
static={cls="syslink";text="百度一下";left=167;top=157;right=339;bottom=182;align="center";font=LOGFONT(h=-21);transparent=1;z=1}
)
/*}}*/

import process;
winform.static.text = `<a href="http://www.baidu.com">百度一下</a>`
winform.static.onHyperlinkClick = function(nmSysLink,url,id){
thread.invoke(
function(url){
import process;
process.execute(url); //创建线程打开超链接速度会更快
},url
);
}

winform.show();
win.loopMessage();