protected virtual new void OnDisplayModeChanging(WebPartDisplayModeCancelEventArgs e) { }
protected virtual void OnDisplayModeChanging(WebPartDisplayModeCancelEventArgs e) { WebPartDisplayModeCancelEventHandler handler = (WebPartDisplayModeCancelEventHandler) base.Events[DisplayModeChangingEvent]; if (handler != null) { handler(this, e); } }