diff options
author | emkael <emkael@tlen.pl> | 2016-05-23 22:09:52 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-05-23 22:09:52 +0200 |
commit | 8ef4736fe9c98f91c60e02216d3e87cf22b25247 (patch) | |
tree | 81086c152641d2ad2d33a48bcacdd0cc2d9d0716 /Program.cs | |
parent | c21f4376d366d7a930bdbc850c659cd08e40e176 (diff) |
* file extension filter in open file dialog
Diffstat (limited to 'Program.cs')
-rw-r--r-- | Program.cs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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);
|