protected override void OnShutdown() { this.VstoSmartTags.Dispose(); this.CustomTaskPanes.Dispose(); base.OnShutdown(); } }