Ported the old tab renaming code into main
Needs to be cleaned up
This commit is contained in:
parent
035b84d065
commit
b664670a42
47 changed files with 644 additions and 337 deletions
|
|
@ -46,6 +46,19 @@ namespace MatterHackers.MatterControl.Library
|
|||
|
||||
public bool IsVisible => true;
|
||||
|
||||
public string Name { get; set; }
|
||||
private string _name;
|
||||
public string Name
|
||||
{
|
||||
get => _name; set
|
||||
{
|
||||
if (_name != value)
|
||||
{
|
||||
_name = value;
|
||||
NameChanged?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event EventHandler NameChanged;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue