private void SetWrapper(SimPe.Interfaces.Plugin.IFileWrapper wrp) { SimPe.Interfaces.Plugin.IFileWrapper old = this.wrp; this.wrp = wrp; WrapperChangedEventArgs e = new WrapperChangedEventArgs(old, wrp); OnWrapperChanged(e); if (WrapperChanged != null) { WrapperChanged(this, e); } }
protected virtual void OnWrapperChanged(WrapperChangedEventArgs e) { }