mirror of
https://github.com/claunia/libexeinfo.git
synced 2025-12-16 19:14:24 +00:00
Add pointer and bitmap extensions to icon viewer.
This commit is contained in:
@@ -61,7 +61,7 @@ namespace iconviewer
|
|||||||
protected void OnBtnPathClick(object sender, EventArgs e)
|
protected void OnBtnPathClick(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
OpenFileDialog dlgOpenFileDialog = new OpenFileDialog {MultiSelect = false};
|
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);
|
DialogResult result = dlgOpenFileDialog.ShowDialog(this);
|
||||||
|
|
||||||
if(result != DialogResult.Ok)
|
if(result != DialogResult.Ok)
|
||||||
|
|||||||
Reference in New Issue
Block a user