summaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-05-23 22:09:52 +0200
committeremkael <emkael@tlen.pl>2016-05-23 22:09:52 +0200
commit8ef4736fe9c98f91c60e02216d3e87cf22b25247 (patch)
tree81086c152641d2ad2d33a48bcacdd0cc2d9d0716 /Program.cs
parentc21f4376d366d7a930bdbc850c659cd08e40e176 (diff)
* file extension filter in open file dialog
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs1
1 files changed, 1 insertions, 0 deletions
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<String>(fd.FileNames);