diff options
author | emkael <emkael@tlen.pl> | 2016-05-23 14:50:52 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-05-23 14:50:52 +0200 |
commit | 71fc38dd129db3a43e0bb6c894aaea1d14e17286 (patch) | |
tree | 92b2e3522b06c37c650fda62deaf5019af7bca07 /Program.cs | |
parent | 8f2890b00e6892e6b3ccaae5746f8209e2cb276a (diff) |
* opening PBN file list
Diffstat (limited to 'Program.cs')
-rw-r--r-- | Program.cs | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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();
+ }
}
}
}
|