From 71fc38dd129db3a43e0bb6c894aaea1d14e17286 Mon Sep 17 00:00:00 2001 From: emkael Date: Mon, 23 May 2016 14:50:52 +0200 Subject: * opening PBN file list --- Program.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Program.cs') diff --git a/Program.cs b/Program.cs index b347025..e0a7149 100644 --- a/Program.cs +++ b/Program.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Text; +using System.Windows.Forms; namespace BCDD { @@ -9,6 +10,18 @@ namespace BCDD [STAThread] static void Main(string[] args) { + OpenFileDialog fd = new OpenFileDialog(); + fd.Multiselect = true; + if (fd.ShowDialog() == DialogResult.OK) + { + foreach (String filename in fd.FileNames) + { + Console.WriteLine("Analyzing " + filename); + PBNFile file = new PBNFile(filename); + } + Console.WriteLine("Press any key to continue..."); + Console.ReadLine(); + } } } } -- cgit v1.2.3