收集路径文件。

(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...
 )
 )

你可能感兴趣的:(文件)