收集路径文件。

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

原文地址:https://www.cnblogs.com/gaitian00/p/2202457.html