mirror of
https://github.com/claunia/libexeinfo.git
synced 2025-12-16 19:14:24 +00:00
27 lines
622 B
C#
27 lines
622 B
C#
using System.Collections.Generic;
|
|
using Eto.Forms;
|
|
using Eto.Serialization.Xaml;
|
|
|
|
namespace exeinfogui
|
|
{
|
|
public class TabPageStrings : TabPage
|
|
{
|
|
GridView treeStrings;
|
|
|
|
public TabPageStrings()
|
|
{
|
|
XamlReader.Load(this);
|
|
|
|
treeStrings.Columns.Add(new GridColumn
|
|
{
|
|
DataCell = new TextBoxCell {Binding = Binding.Property<string, string>(r => r)},
|
|
HeaderText = "String"
|
|
});
|
|
}
|
|
|
|
public void Update(IEnumerable<string> strings)
|
|
{
|
|
treeStrings.DataStore = strings;
|
|
}
|
|
}
|
|
} |