public void Complete() { if (osb.LocationPoint != null) { if (DrawCompleteEvent != null) { // AutoTrim(osb, Floor); DrawCompleteEvent.Invoke(new ActionEventArgs(osb)); } } else { if (DrawTermimationEvent != null) { // AutoTrim(osb, Floor); DrawTermimationEvent.Invoke(new ActionEventArgs(osb)); } } }
protected virtual void OnDrawCompleteEvent() { DrawCompleteEvent?.Invoke(this, EventArgs.Empty); }