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

@ -123,7 +123,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow.PlusTab
this.Invalidate();
}
public override void OnClick(MouseEventArgs mouseEvent)
protected override void OnClick(MouseEventArgs mouseEvent)
{
if (mouseEvent.Button == MouseButtons.Left)
{