...
控件 | 属性 | 值 | 说明 | |
---|---|---|---|---|
Button1 | id | buttonSave | 控件的Id | |
Button1 | caption | 保存 | Button控件显示的标题 | |
Button1 | icon | url(>skin>common/icons.gif) -140px -20pxiconClass | fa fa-check | Button控件显示的图标 |
Button2 | id | buttonCancel | 控件的Id | |
Button2 | caption | 取消 | Button控件显示的标题 | |
Button2 | icon | url(>skin>common/icons.gif) -280px -220pxiconClass | fa fa-remove | Button控件显示的图标 |
如下图所示:
接下来需要为这2个Button绑定事件:
...
控件 | 属性 | 值 | 说明 | |
---|---|---|---|---|
Button1 | id | buttonAdd | 控件的Id | |
Button1 | caption | 新增 | Button控件显示的标题 | |
Button1 | icon | url(>skin>common/icons.gif) -120px -0pxiconClass | fa fa-check | Button控件显示的图标 |
Button2 | id | buttonEdit | 控件的Id | |
Button2 | caption | 修改 | Button控件显示的标题 | |
Button2 | icon | url(>skin>common/icons.gif) -200px -0pxiconClass | fa fa-edit | Button控件显示的图标 |
Button3 | id | buttonDel | 控件的Id | |
Button3 | caption | 删除并保存 | Button控件显示的标题 | |
Button3 | icon | url(>skin>common/icons.gif) -140px -0pxiconClass | fa fa-check-square | Button控件显示的图标 |
接下来需要为这3个Button绑定事件:
...