public virtual void OnWarning(int warningCode) { IMsTscAxEvents_OnWarningEvent onwarningEvent = new IMsTscAxEvents_OnWarningEvent(warningCode); this.parent.RaiseOnOnWarning(this.parent, onwarningEvent); }