mirror of
https://github.com/claunia/libexeinfo.git
synced 2025-12-16 19:14:24 +00:00
Add decoding RT_STRING resources from NE (Windows and OS/2), and appropriate GUI.
This commit is contained in:
@@ -39,6 +39,7 @@ namespace exeinfogui.NE
|
||||
TreeGridItemCollection treeData;
|
||||
TreeGridView treeResources;
|
||||
PanelWin16Version panelWin16Version;
|
||||
PanelNeStrings panelNeStrings;
|
||||
|
||||
public TabNeResources()
|
||||
{
|
||||
@@ -52,6 +53,7 @@ namespace exeinfogui.NE
|
||||
treeResources.SelectionChanged += TreeResourcesOnSelectionChanged;
|
||||
|
||||
panelWin16Version = new PanelWin16Version();
|
||||
panelNeStrings = new PanelNeStrings();
|
||||
}
|
||||
|
||||
public void Update(IEnumerable<libexeinfo.NE.ResourceType> resourceTypes, libexeinfo.NE.TargetOS os)
|
||||
@@ -98,6 +100,10 @@ namespace exeinfogui.NE
|
||||
pnlResource.Content = panelWin16Version;
|
||||
panelWin16Version.Update(data);
|
||||
break;
|
||||
case "RT_STRING":
|
||||
pnlResource.Content = panelNeStrings;
|
||||
panelNeStrings.Update(data, (libexeinfo.NE.TargetOS)((TreeGridItem)treeResources.SelectedItem).Values[4]);
|
||||
break;
|
||||
default:
|
||||
pnlResource.Content = null;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user