Add pointer and bitmap extensions to icon viewer.

This commit is contained in:
2018-03-05 14:17:15 +00:00
parent 2085f0c6fc
commit 432f11ea57

View File

@@ -61,7 +61,7 @@ namespace iconviewer
protected void OnBtnPathClick(object sender, EventArgs e)
{
OpenFileDialog dlgOpenFileDialog = new OpenFileDialog {MultiSelect = false};
dlgOpenFileDialog.Filters.Add(new FileFilter {Extensions = new[] {".ico"}});
dlgOpenFileDialog.Filters.Add(new FileFilter {Extensions = new[] {".ico", ".ptr", ".bmp"}});
DialogResult result = dlgOpenFileDialog.ShowDialog(this);
if(result != DialogResult.Ok)