w_filemove.srw 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. $PBExportHeader$w_filemove.srw
  2. forward
  3. global type w_filemove from window
  4. end type
  5. type ddlb_dir from dropdownlistbox within w_filemove
  6. end type
  7. end forward
  8. global type w_filemove from window
  9. integer width = 3365
  10. integer height = 1408
  11. boolean titlebar = true
  12. string title = "Untitled"
  13. boolean controlmenu = true
  14. boolean minbox = true
  15. boolean maxbox = true
  16. boolean resizable = true
  17. long backcolor = 67108864
  18. string icon = "AppIcon!"
  19. boolean center = true
  20. ddlb_dir ddlb_dir
  21. end type
  22. global w_filemove w_filemove
  23. on w_filemove.create
  24. this.ddlb_dir=create ddlb_dir
  25. this.Control[]={this.ddlb_dir}
  26. end on
  27. on w_filemove.destroy
  28. destroy(this.ddlb_dir)
  29. end on
  30. event open;// messagebox("",string(UnZipTo("C:\Documents and Settings\Administrator\桌面\qqq.tmp","C:\Documents and Settings\Administrator\桌面\xx",false,"")))
  31. int i
  32. string apppathx
  33. apppathx=sys_cur_path + "updatexetmp\"
  34. ddlb_dir.DirList(apppathx + "wfsoft.com\", 0)
  35. for i=1 to ddlb_dir.totalitems()
  36. Filemove(apppathx + "wfsoft.com\" + ddlb_dir.text(i),apppathx + ddlb_dir.text(i))
  37. next
  38. ddlb_dir.DirList(sys_cur_path,0)
  39. close(this)
  40. end event
  41. type ddlb_dir from dropdownlistbox within w_filemove
  42. integer x = 197
  43. integer y = 200
  44. integer width = 549
  45. integer height = 476
  46. integer taborder = 10
  47. integer textsize = -12
  48. integer weight = 400
  49. fontcharset fontcharset = ansi!
  50. fontpitch fontpitch = variable!
  51. fontfamily fontfamily = swiss!
  52. string facename = "Tahoma"
  53. long textcolor = 33554432
  54. borderstyle borderstyle = stylelowered!
  55. end type