收集路径文件。

(local ofd = dotnetobject "System.Windows.Forms.OpenFileDialog"
 ofd.Filter = "XML Files (*.xml)|*.xml |(*.*)|*.*"
 ofd.RestoreDirectory = false   
 ofd.multiselect = true
     
 if ofd.showDialog() == (dotNetClass "System.Windows.Forms.DialogResult").OK then (
   local sFile = ofd.fileNames
   -- Process the file array here...
 )
 )

posted on 2011-10-08 19:33  盖天00  阅读(213)  评论(1编辑  收藏  举报

导航