mirror of
https://github.com/kwsch/NHSE.git
synced 2026-10-01 14:26:38 -05:00
Categorize stalk market properties
update other usages so we can turn off the help box at the bottom of the propertygrid
This commit is contained in:
@@ -6,11 +6,12 @@ namespace NHSE.WinForms
|
||||
{
|
||||
public partial class SingleObjectEditor<T> : Form where T : class
|
||||
{
|
||||
public SingleObjectEditor(T obj, PropertySort sort)
|
||||
public SingleObjectEditor(T obj, PropertySort sort, bool showHelp)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.TranslateInterface(GameInfo.CurrentLanguage);
|
||||
DialogResult = DialogResult.Cancel;
|
||||
PG_Item.HelpVisible = showHelp;
|
||||
PG_Item.PropertySort = sort;
|
||||
PG_Item.SelectedObject = obj;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user