首先,新建立一个登陆帐号001,打开D:\mastudio\Common\account.ini文件,增加如下内容:
[mas]
Home=index.mas
Dir=d:\mastudio\sample
[dbase]
Home=index.mas
Dir=d:\mastudio\project\database\src
[001]
Home= test.mas
Dir= D:\mastudio\sample
在D:\mastudio\sample目录下新建文本文件,文件名为test.mas。打开该文件输入如下内容:
OBJECT wxCOMMON aCommon
{
aCommon.Background[]= , background_menu.bmp
}
OBJECT wxLABEL aLabel
{
aLabel.Rect[]= 30, 100, 220, 240
aLabel.Font[]= 15, 0x33FF22
aLabel.Text= "Hello World"
}
运行手机上客户端程序,输入用户名为001,密码为空。点菜单确定后登陆进入系统即显示“Hello World”。
服务器是127.0.0.1,用户名为001,密码为空。