public Explorer(List<string> extras) { this.InitializeComponent(); foreach (var path in extras) { var editor = new FileViewer() { MdiParent = this }; editor.LoadResource(path); editor.Show(); } }
public Explorer(List <string> extras) { this.InitializeComponent(); foreach (var path in extras) { var editor = new FileViewer() { MdiParent = this }; editor.LoadResource(path); editor.Show(); } }
private void OnOpen(object sender, EventArgs e) { if (this.openDRMDialog.ShowDialog() != DialogResult.OK) { return; } foreach (var path in this.openDRMDialog.FileNames) { var editor = new FileViewer() { MdiParent = this }; editor.LoadResource(path); editor.Show(); } }