我想,结构是这样的!!
打开窗口
do while 关闭窗口
  if 数据改变 then
    取数据
    显示数据
    修改数据
  endif
loop