protected override void Initialize() { base.Initialize(); this.Application = this.GetHostItem<Microsoft.Office.Interop.MSProject.Application>(typeof(Microsoft.Office.Interop.MSProject.Application), "Application"); Globals.ThisAddIn = this; global::System.Windows.Forms.Application.EnableVisualStyles(); this.InitializeCachedData(); this.InitializeControls(); this.InitializeComponents(); this.InitializeData(); }
protected override void Initialize() { base.Initialize(); this.Application = this.GetHostItem <Microsoft.Office.Interop.MSProject.Application>(typeof(Microsoft.Office.Interop.MSProject.Application), "Application"); Globals.ThisAddIn = this; global::System.Windows.Forms.Application.EnableVisualStyles(); this.InitializeCachedData(); this.InitializeControls(); this.InitializeComponents(); this.InitializeData(); }