Change OnClick to protected

- Issue MatterHackers/MCCentral#3445
Change accessibility of OnClick to protected, revise callers to use
InvokeClick()
This commit is contained in:
jlewin 2019-06-04 11:02:50 -07:00
parent 8eca3598c8
commit ec1a50b815
16 changed files with 20 additions and 19 deletions

View file

@ -60,7 +60,7 @@ namespace MatterHackers.MatterControl
textEditWidget.Margin = new BorderDouble(5);
textEditWidget.ActualTextEditWidget.EnterPressed += (s, e) =>
{
actionButton.OnClick(null);
actionButton.InvokeClick();
};
contentRow.AddChild(textEditWidget);