mirror of
https://github.com/claunia/libexeinfo.git
synced 2025-12-16 19:14:24 +00:00
Add segments to gui.
This commit is contained in:
@@ -45,13 +45,16 @@ namespace exeinfogui
|
||||
TextBox txtOs;
|
||||
TextBox txtSubsystem;
|
||||
TextBox txtType;
|
||||
TabPageSegments tabSegments;
|
||||
|
||||
public MainForm()
|
||||
{
|
||||
XamlReader.Load(this);
|
||||
|
||||
tabSegments = new TabPageSegments {Visible = false};
|
||||
tabStrings = new TabPageStrings {Visible = false};
|
||||
tabGemResources = new TabGemResources {Visible = false};
|
||||
tabMain.Pages.Add(tabSegments);
|
||||
tabMain.Pages.Add(tabStrings);
|
||||
tabMain.Pages.Add(tabGemResources);
|
||||
}
|
||||
@@ -136,6 +139,12 @@ namespace exeinfogui
|
||||
tabStrings.Update(recognizedExe.Strings);
|
||||
tabStrings.Visible = true;
|
||||
}
|
||||
|
||||
if(recognizedExe.Segments != null && recognizedExe.Segments.Any())
|
||||
{
|
||||
tabSegments.Update(recognizedExe.Segments);
|
||||
tabSegments.Visible = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected void OnMnuAboutClick(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user