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