From 8ef4736fe9c98f91c60e02216d3e87cf22b25247 Mon Sep 17 00:00:00 2001 From: emkael Date: Mon, 23 May 2016 22:09:52 +0200 Subject: * file extension filter in open file dialog --- Program.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'Program.cs') diff --git a/Program.cs b/Program.cs index 5611842..8435bfd 100644 --- a/Program.cs +++ b/Program.cs @@ -22,6 +22,7 @@ namespace BCDD { OpenFileDialog fd = new OpenFileDialog(); fd.Multiselect = true; + fd.Filter = "PBN files (*.pbn)|*.pbn|All files (*.*)|*.*"; if (fd.ShowDialog() == DialogResult.OK) { filenames = new List(fd.FileNames); -- cgit v1.2.3