Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

控件属性说明
Button1id

buttonSave

控件的Id
Button1caption保存Button控件显示的标题
Button1iconurl(>skin>common/icons.gif) -140px -20pxiconClassfa fa-checkButton控件显示的图标
Button2idbuttonCancel控件的Id
Button2caption取消Button控件显示的标题
Button2iconurl(>skin>common/icons.gif) -280px -220pxiconClassfa fa-removeButton控件显示的图标

如下图所示:

Image RemovedImage Added

接下来需要为这2个Button绑定事件:

...

控件属性说明
Button1id

buttonAdd

控件的Id
Button1caption新增Button控件显示的标题
Button1iconurl(>skin>common/icons.gif) -120px -0pxiconClassfa fa-checkButton控件显示的图标
Button2idbuttonEdit控件的Id
Button2caption修改Button控件显示的标题
Button2iconurl(>skin>common/icons.gif) -200px -0pxiconClassfa fa-editButton控件显示的图标
Button3idbuttonDel控件的Id
Button3caption删除并保存Button控件显示的标题
Button3iconurl(>skin>common/icons.gif) -140px -0pxiconClassfa fa-check-squareButton控件显示的图标

接下来需要为这3个Button绑定事件:

...