Add support for changing Cancel button text

This commit is contained in:
John Lewin 2018-05-03 08:32:42 -07:00
parent e42bc4369b
commit 18b72bb88c

View file

@ -146,6 +146,11 @@ namespace MatterHackers.MatterControl
cancelButton.Name = newName;
}
protected void SetCancelButtonText(string text)
{
cancelButton.Text = text;
}
protected void HideCancelButton()
{
cancelButton.Visible = false;