private void OnOpen(object sender, EventArgs e) { if (this.openResourceDialog.ShowDialog(this) != DialogResult.OK) { return; } foreach (var path in this.openResourceDialog.FileNames) { var editor = new ResourceViewer(this); editor.LoadResource(path); editor.Show(); } }