private void btnLoadAssembly_Click(object sender, RoutedEventArgs e) { OpenFileDialog ofd = new OpenFileDialog(); ofd.Multiselect = true; ofd.Filter = "Dll |*.dll"; if (ofd.ShowDialog() == System.Windows.Forms.DialogResult.OK) { List <Exception> excs = new List <Exception>(); dlls = dllReader.ReadDlls(ofd.FileNames, excs); visual.ShowAssemblies(dlls); log.Log(excs); if (dlls.Count != 0) { log.Log("Files loaded ", dlls.Count + " dlls; "); } } }